Add git branch name to bash prompt (Example)

A protip by itseranga about shell, osx, unix, git, and bash.