title: Can't find my commit after doing a git pull
body: <p>I have a local branch that I was working on last week. I knew I was going to be away for it for a while, so I committed my changes, but did not push them. Today I went back to work on it, and when I checked it out, it told me I was 40 commits behind origin, and I should do a <code>git pull</code>.</p>
  
  <p>So I did. And now I can't find the changes that I had committed last week. I don't have the hash of it, and I can't find it in <code>gitk</code>.</p>
  
  <p>I've looked at <a href="https://stackoverflow.com/questions/1223354/undo-git-pull-how-to-bring-repos-to-old-state">this</a>, <a href="https://stackoverflow.com/questions/5815448/how-to-undo-a-git-pull">this</a>, and <a href="https://stackoverflow.com/questions/6201802/git-pull-deleted-my-commit">this</a>, but when I did a <code>git checkout HEAD@{1}</code> just to see where things were, it wasn't where it should have been.</p>
  
  <p>How can I find my local commit and get back to it safely?</p>