title: How to resolve Git fatal error 'loose object file': Bad file descriptor?
body: <p>I recently bought a new PC and setup the dev environment from scratch, including installing Git system for Windows (Git Bash).
  My projects are stored on an external hard drive, mapped with the same letter as the old PC.
  For this particular project, I'm only using Git to track changes, without pushing to any remote repository. Basically using <code>git add, git commit and git status</code></p>
  
  <p>Now on the new PC, when I try to <code>git add .</code>, I receive the following error:  </p>
  
  <pre><code>fatal: fsync error on 'loose object file': Bad file descriptor  
  </code></pre>
  
  <p>What's the cause and how to fix it? Could it be related to ssh certificate?</p>