title: How to disconnect a local Git repository from remote master
body: <p>How do I completely disconnect a local Git repository from all remote branches?</p>
  <p>I cloned a Git repository from github.com, but then it was deleted and I don't want Git to report any changes needing to be &quot;pushed up&quot;. I've tried googling this, but I think my terminology is wrong, and I'm not finding anything.</p>
  <p>Can I simply delete the <code>[remote &quot;origin&quot;]</code> and <code>[branch &quot;master&quot;]</code> sections from my <em>.git/config</em> file or will that break my local repository?</p>