title: TortoiseGit Error - Could not get all refs. libgit2 returned: corrupted loose reference file
body: <p>I just got an error after a recent commit using Tortoise Git:</p>
  
  <blockquote>
    <p>"Could not get all refs. libgit2 returned: corrupted loose reference
    file"</p>
  </blockquote>
  
  <p>which pops up when I go to check the Log.</p>
  
  <p>Any ideas on how to rectify this?</p>