$ git config [--global] user.name ["YOUR_NAME"]
$ git config [--global] user.email ["YOUR_EMAIL"]
$ git init
$ git clone URL [LOCAL_REPO_NAME]
$ git status
$ git diff
$ git add [FILE_NAME]
$ git commit -m "COMMIT MESSAGE"
$ git branch
$ git branch [BRANCH_NAME]
$ git checkout [-b] [BRANCH_NAME]
$ git merge [BRANCH_NAME]
$ git branch -d [BRANCH_NAME] # delete local branch
$ git commit -m 'initial commit'
$ git add <forgotten-file>
$ git commit --amend
$ git reset HEAD <file>
NOTE - This command could be dangerous.
$ git checkout -- <file>
$ git fetch [BOOKMARK]
$ git merge [BOOKMARK]/[BRANCH]
$ git push [ALIAS] [BRANCH]
$ git pull
$ git branch -r
# or
$ git remote show origin
$ git push origin [REMOTE_BRANCH_NAME]
$ git checkout [REMOTE_BRANCH_NAME]
# or
$ git checkout -b [LOCAL_BRANCH_NAME] origin/[REMOTE_BRANCH_NAME]
# or
$ git checkout -t origin/[REMOTE_BRANCH_NAME]
$ git push origin :[REMOTE_BRANCH_NAME]
$ git reflog
$ git reset --hare HEAH@{1}