title: How do I retrieve files deleted from local repo using git pull
body: <p>While pushing my repo to Heroku I ran a git pull command and it accidentally deleted my local repo. I understand that these files are just stored as objects in .git but whenever I run</p>
  <pre><code>git checkout .
  </code></pre>
  <p>I get this error</p>
  <pre><code>error: unable to read sha1 file of &lt;file_name&gt; (7caddd272623f5c80b13bcc584418d803e318a19)
  </code></pre>
  <p>Any help would be appreciated</p>