title: How to ungit a directory?
body: <p>I have accidentally put my home folder under git version control. How can I undo this? I am running Ubuntu 16.04.</p>
  
  <p>Interestingly, running</p>
  
  <pre><code>$ git status
  </code></pre>
  
  <p>Informs me that the Mozilla Firefox cache has been altered.</p>
  
  <p><a href="https://i.stack.imgur.com/Mou4p.png" rel="noreferrer">Screenshot of terminal</a></p>
  
  <hr>
  
  <p>Related questions:</p>
  
  <ul>
  <li><p><a href="https://stackoverflow.com/questions/29217859/what-is-the-git-folder">What is the .git folder?</a></p></li>
  <li><p><a href="https://unix.stackexchange.com/a/222494">What is the alternative for ls command in linux? [duplicate]</a></p></li>
  </ul>