git init
git clone {remote url}
git status
git add .
git commit -m "{commit message}"
git commit --amend
git reset --hard HEAD
git reset --hard HEAD^
git reset --hard HEAD~{the number of commits}
git branch -m {new branch name}
git checkout {branch name}
git checkout -t {remote name}/{branch name}
git checkout -b {branch name}
git checkout -D {branch name}
git log
- git stash save (deprecated)
+ git stash push
git stash pop
git stash apply
git fetch
git pull
git push -u {remote name} HEAD
git push {remote name} :{branch name}
git push {remote name} --delete {branch name}
git remote -v
git remote add {remote name} {remote url}