romach
9/11/2017 - 1:26 PM

Main commands

git init # init git repository in current directory, creates .git subdirectory
git show 3a64fcc # show changes in commit
git diff # differences between remote and local repositories
git log # commits history
git rm # remove file from git repository

file statuses:
  - untracked 
  - tracked
    - unmodified
    - modified
    - staged