title: git: How to delete a local ref branch?
body: <p>I have bit of a difficulty in deleting a local ref branch(refs/notes/origin/commits).
  I was able to delete the branch(refs/notes/origin/commits) in the remote repository using the command</p>
  
  <pre><code>git push origin :refs/notes/origin/commits
  </code></pre>
  
  <p>but when i try to delete the same branch on my local repository, i get the below error</p>
  
  <pre><code>[User@centos Clone]# git branch -rd refs/notes/origin/commits
  error: remote branch 'refs/notes/origin/commits' not found.
  </code></pre>
  
  <p>Any suggestions?</p>