$ git config [--global] user.name "[name]"
$ git config [--global] user.email "[email address]"
$ git config --list
$ git init
$ git clone [url]
$ git add [file1] [file2] ...
$ git add .
$ git rm [file1] [file2] ...
$ git rm --cached [file]
$ git commit -m [message]
$ git commit [file1] [file2] ... -m [message]
$ git branch
$ git branch -r
$ git branch -a
$ git branch [branch-name]
$ git checkout -b [branch]
$ git merge [branch]
$ git log
$ git log --pretty=oneline
$ git log [--oneline]
$ git reset --hard HEAD^
$ git reset --hard HEAD^^
$ git reset --hard [commit_id]
$ git remote add [shortname][url]
$ git push -u origin master
$ git fetch origin master