title: How can I fix the Git error "object file ... is empty"?
body: <p>When I try to commit changes, I get this error:</p>
  <pre><code>error: object file .git/objects/31/65329bb680e30595f242b7c4d8406ca63eeab0 is empty
  fatal: loose object 3165329bb680e30595f242b7c4d8406ca63eeab0 (stored in .git/objects/31/65329bb680e30595f242b7c4d8406ca63eeab0) is corrupt
  </code></pre>
  <p>I tried <code>git fsck</code> I've got:</p>
  <pre><code>error: object file .git/objects/03/dfd60a4809a3ba7023cbf098eb322d08630b71 is empty
  fatal: loose object 03dfd60a4809a3ba7023cbf098eb322d08630b71 (stored in .git/objects/03/dfd60a4809a3ba7023cbf098eb322d08630b71) is corrupt
  </code></pre>
  <p>How can I solve this error?</p>