09:36 tkling [awesome-branch] git-prompt =>
The branch info (part in square brackets) is colored - red for 'dirty', green for 'clean'.
Copy pasta this script, or be sensible and
source it, into your user bash profile (usually
reload your terminal, and look at your git info!
Only shows git info if you're in a git repo.
Requires a version of git with the
symbolic-ref command => at least 126.96.36.199
Special thanks to @jusroberts for cleaning up the script and making colors work!