change the PS1 to use __git_ps1 if available

only dirty state is configured to show, but set other environment variables as suggested to see more information in your PS1