Here is how to have your bash prompt tell you if you have changed or untracked files in your working directory.
Add these lines to ~/.bash_profile
:
source /usr/local/etc/bash_completion
GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWUNTRACKEDFILES=true
export PS1='\u@\h \w$(__git_ps1) \$ '