I've recently been asked about my Bash prompt (derived from a conglomerate of similar OSS solutions) that shows off the current Git branch and the status in the prompt. Here is my version for both Mac and Unix.
gist: 48058 Windows (Cygwin) Show Git dirty status in your Unix bash prompt gist: 47267 Show Git dirty status in your Unix bash prompt (symbols not compatible with CygWin)