title: Git PS1 dirtstate shows an undocumented "#" symbol
body: <p>I'm on a Mac, I've installed git via brew and sourced the <em>git-completion.bash</em> script file.  </p>
  
  <p>I've exported the <code>GIT_PS1_SHOWDIRTYSTATE=1</code> variable to also show the status of the current branch.   </p>
  
  <p>Finally I've included the <code>$(__git_ps1 '(%s)')</code> in my <strong>PS1</strong> definition.</p>
  
  <p>As I read around </p>
  
  <pre><code># In addition, if you set GIT_PS1_SHOWDIRTYSTATE to a nonempty
  # value, unstaged (*) and staged (+) changes will be shown next
  # to the branch name. You can configure this per-repository
  # with the bash.showDirtyState variable, which defaults to true
  # once GIT_PS1_SHOWDIRTYSTATE is enabled.
  </code></pre>
  
  <p>But no matter what my prompt shows me  <code>(name_branch #)</code>. I've no idea what the <strong>#</strong> symbol is supposed to mean. Also I couldn't find the official repo or documentation for this file.<br>
  Any hint?</p>
  
  <p>Thanks</p>
  
  <p><strong>EDIT</strong>:
  This is my PS1:</p>
  
  <pre><code>PS1="${Yellow}\$(__git_ps1 '(%s)')${Green}\u@${Green}\h${Color_Off}:${Blue}\w\$${Color_Off} "
  </code></pre>
  
  <p>Also I want to add that <code>__git_ps1</code> is correctly activated only on git directories but it shows that <strong>#</strong> symbol anyway.</p>