git init
git add .
git commit -m 'text'
git commit --amend -m "text"
git log
git log --since="2 weeks ago" --until="3 days ago"
git log --graph
git log --online --graph --all --decorate
git status
git diff
git --diff --cached (different between current state and buffer)
git --diff <commitId> <path>
git --diff <commitId>..<commitId>
git ls-tree master <path or blank>
git reset HEAD <fileName.js>
git checkout -- <fileName.js>
git checkout <commitId> -- <fileName.js>
git revert
git reset --soft <commitId>
git reset <commitId>
git reset --hard <commitId>
git branch
git branch <branchName>
git checkout <branchName>
git branch -m <oldName> <newName>
git branch -d <branchName>
git branch -D <branchName>
git checkout <branchNameMainTO>
git merge <branchNameSlaveFrom>
git merge --abort
git remote
git remote add <alias> <url>
git remote rm <alias>
push branch on remote
git push -u <align> <branchName>
git clone <url> [<path>]
git fetch <alias>
git pull