title: fatal: bad object xxx
body: <p>I tried reverting to a previous git commit with:</p>
  
  <pre><code>git revert xxx
  </code></pre>
  
  <p>I'm now receiving this error as a response:</p>
  
  <pre><code>fatal: bad object xxx
  </code></pre>
  
  <p>What am I doing wrong? How do I fix this?</p>