Restore __git_ps1 to bash prompt

http://stackoverflow.com/a/12871094