title: How to remove a git remote branch
body: <p>So i've got something like this for a repository atm.</p>
  
  <pre><code>D-Hewards-MacBook-Pro:project dheward$ git branch -r
  origin/master
  unfuddle/master
  </code></pre>
  
  <p>Interestingly because it is the master branch of the unfuddle repo it will not let me delete it using command such as:-</p>
  
  <pre><code>git push unfuddle :master
  </code></pre>
  
  <p>One points to unfuddle and the other to another git repo. What I want to do is remove the unfuddle one from this repo and stop tracking it altogether.</p>
  
  <p>Does anyone know what I can do to achieve this? Tried a few things to little avail.</p>
  
  <p>SOLVED: </p>
  
  <pre><code>D-Hewards-MacBook-Pro:projectname dheward$ git branch -r -d unfuddle/master
  Deleted remote branch unfuddle/master (was bb55c89).
  D-Hewards-MacBook-Pro:projectname dheward$ git remote rm unfuddle
  D-Hewards-MacBook-Pro:projectname dheward$ git branch -r origin/master
  </code></pre>