add own _git_ps1 function for prompts
remove whitespaces.