block
by
drnic
48207
See http://github.com/blog/297-dirty-git-state-in-your-prompt
snippet.sh