- git init
- git clone
- git status
- git fetch (update without merge)
- git pull (update and merge)
- git commit
- git branch (local branch)
- git branch -r (remote branch)
- git branch -a (all branches)
- git branch [branch name] (remote branch)
- git checkout -b [branch name] (only generate local branch)
- git push -u [remote name] [branch name] (push local branch to a remote-tracking branch)
- git branch -d [branch name] (remove local branch)
- git push [remote] --delete [branch name] (remove remote branch)
- git checkout [branch name]
- git merge [branch name] (merge [branch name] to the current branch)
- git stash save "message" (create a stash)
- git stash list