Oh shit git!
I did something terribly wrong, go back to what works
# everything you did with git in all branches
# copy HEAD@{index} where everything worked
# phew!
I committed but forgot to make a small change/wrong commit message
Accidentally committed to master, when it should've been to new branch
# removes last commit from master
# this branch still contains the commit though!
Accidentally committed to wrong branch
# get the last commit to master
Undo a commit from like 5 commits ago
# find the commit
Undo my changes to a file
# find hash before the file was changed
# set's old version in index