title: Git Tips and Tricks : Display Branch on Command Prompt not working and created side effects of git branch function not working and many others
body: <p>Just trying to enchance my knowledge of git and use to tips and tricks, </p>
  
  <p>I updated my .bashrc file as suggested in <a href="https://stackoverflow.com/questions/347901/what-are-your-favorite-git-features-or-tricks/583587#583587">Tip</a> <code>PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
  </code> but to my surprise now my git branch command is not working and even if I remove it from .bashrc than also it is not working for me.</p>
  
  <p>Also every time, I use my command prompt I get <code>-bash: __git_ps1: command not found</code> any guidance or suggestions ?</p>
  
  <p><strong>Update</strong> : I want to get rid of it now, how can I achieve this ?</p>