@wesbos recently tweeted a useful set of aliases for git.

He also shared a tweet from @timdorr that had most of the goodies you'll find below.

Recently used branches

latest = for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)'  

Short status with branch

st = status -sb  

Pretty log format

lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --  

Delete local branch after github pull request

done = "!git checkout master && git pull && git fetch -p && git branch --merged | grep -Pv '\\*|master' | xargs -n 1 git branch -d"