(not pushed) • git reset -- hard HEAD~1 #reset to commit • git reset -- soft HEAD~1 #soft reset to commit • git branch -m oldname newname #rename branch • git cherry-pick <commit> #apply commit from another branch • git checkout <file> #revert to last commit • git branch -d <branch name> #delete branch • git blame <commit hash> #see who did canges • git stash