title: not able to see the current branch that I am currently working
body: <p>I am using git and this is how my bash_profile looks like.</p>
  
  <pre><code>"$HOME/.rvm/scripts/rvm" ]] &amp;&amp; . "$HOME/.rvm/scripts/rvm" # Load RVM function
  if [ -f /usr/local/etc/bash_completion.d/git-completion.bash ]; then
    . /usr/local/etc/bash_completion.d/git-completion.bash
  fi   
  PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[36m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ '
  GIT_PS1_SHOWDIRTYSTATE=true
  </code></pre>
  
  <p>I used to see branch_name that I am currently on like this, but it is not displaying any more.
        <code>project_name(current_branch_name)</code></p>
  
  <p>It always displays 
  <code>'-bash: __git_ps1: command not found'</code></p>
  
  <p>What could I change in the profile?</p>