Better Git prompt

Copied from http://mediadoneright.com/content/ultimate-git-ps1-bash-prompt