title: How to remove a branch locally?
body: <p>I have a master and a dev branch in my repository. I want to remove the master branch from my computer so that I don't accidentally commit to it (it's happened..). </p>
  
  <p>There are questions on here about how to delete branches locally <strong>and</strong> remotely, but I haven't been able to find out how to only delete a branch locally.</p>
  
  <p>One answer said to use this:</p>
  
  <pre><code>git branch -d local_branch_name
  </code></pre>
  
  <p>But I tried that and the branch still shows up in the GitHub application.</p>