From http://stackoverflow.com/questions/1057564/pretty-git-branch-graphs