コマンドラインでGitのブランチ名が見えているとなにかと便利なので。
.bash_profile
source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash
source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh
PS1='\[\e[1;36m\][\h: \W]$\[\e[1;32m\]$(__git_ps1)\[\e[0m\] '
結果
ブランチ名が表示されました。
これでコミット先のブランチを間違える可能性が減りますね。
こちらを参考にしました
http://qiita.com/fernet/items/4dcb6f82520d87227121
http://qiita.com/calpo22/items/8ce258e1f03453a86609