My .bash_profile file for Git under Windows
The PS1 line adds a colored bash prompt with a trimmed down path (the htdoc root is removed) and the current branch if applicable
The if; then block is sort of a dynamic MOTD that performs a git branch and git status on logging