title: Cannot remove .git: Directory not empty
body: <h1>Unable to remove <code>.git</code></h1>
  <p>I have a git repository, <code>Rift</code>, that I am trying to remove. On attempting to run <code>rm -rf</code>, I get the error: <code>rm: cannot remove 'Rift/.git/objects/pack': Directory not empty</code>.</p>
  <p>When I navigate to the bottom of the directory tree, I find a hidden file, called <code>.fuse_hidden</code> followed by a string of numbers and letters, possibly hexadecimal. I can manually remove this file, but as soon as I remove it, another with a different string of numbers and letters appended to it is created in it's place.</p>
  <p>I have tried <code>rm .git/objects/pack/* &amp;&amp; rm -rf .git</code>, <code>sudo rm -rf .git</code>, <code>chmod -w .git/objects/path</code> and <code>killall git</code>, none of which have had any success.</p>
  <p><a href="https://i.stack.imgur.com/nzghJ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/nzghJ.png" alt="enter image description here" /></a></p>