title: Can't remove a remote git branch
body: <p>This is what I'm doing.... how do I get rid of the origin remote branch?  And what is it?</p>
  
  <pre><code>[master] /dir: git status
  # On branch master
  nothing to commit (working directory clean)
  
  [master] /dir: git remote show
  github
  
  [master] /dir: git branch -r
    github/master
    origin/HEAD -&gt; origin/master
  
  [master] /dir: git branch -rd origin/HEAD
  error: remote branch 'origin/HEAD' not found.
  
  [master] /dir: git branch -rd origin
  error: remote branch 'origin' not found.
  
  [master] /dir: git branch -rd origin/HEAD -&gt; origin/master
  -bash: origin/master: No such file or directory
  
  [master] /Applications/MAMP/htdocs/asanawww: git branch -rd origin/master
  error: remote branch 'origin/master' not found.
  
  [master] /Applications/MAMP/htdocs/asanawww: git push origin :master
  fatal: 'origin' does not appear to be a git repository
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>I also tried </p>
  
  <pre><code>git gc --prune=now
  </code></pre>
  
  <p>with no luck</p>