Update better_git_prompt() to work with Git 1.8.5
Move better_git_prompt() to its own file