branch
git branch [branch name]
git switch [branch name]
git checkout [branch name]
git checkout -b [branch name]
git switch -C [branch name]
git branch -d [branch name]
git push origin --delete [branch name]
git branch --move fix [branch name]
git push --set-upstream [repository] [branch name]
checkout
git checkout [hashcode]
log
git log master..test
merge
git merge [branch name]
git merge --abort
git merge --continue
rebase
git checkout [branch name]
git rebase master
git checkout master
git merge [branch name]
cherry-pick
git cherry-pick [hashcode]
stash
git stash clear
git stash branch [branch name]
commit
git commit --amend -m "Add new file"
git commit --amend
reset
git reset --soft HEAD^
git reset --soft HEAD~2
git reset --hard [hashcode]
git push -f [repository] [branch name]
rm
git rm --cached [file name]
git commit -m 'Remove...'
git push origin [repository] [branch name]