title: git delete remote branch not working: branch not found
body: <p>I am trying to delete a remote branch in git, I did: </p>
  
  <pre><code>git branch -r
  ...
  origin/master
  origin/dev
  origin/branch_to_delete
  </code></pre>
  
  <p>now I try to delete <code>origin/branch_to_delete</code>: </p>
  
  <pre><code>git branch -d origin/branch_to_delete
  error: branch 'origin/branch_to_delete' not found 
  </code></pre>
  
  <p>I did: </p>
  
  <pre><code>git fetch --all
  </code></pre>
  
  <p>and tried again, the same error. I tried with <code>-D</code> but the same error. </p>
  
  <p>but the branch is there, I can see it in github.com. What to do?</p>