title: Access older Git commits after accidentially pulling from remote repo with different commit history
body: <p>I have a local Git repo with existing commits spanning several months. I have created a fresh repo on GitLab, initialized with a README file, so it has one commit.</p>
  <p>After adding the origin to my local repo, I pulled, and now I see only that one commit from origin and all the other ones in the history of my local repo are gone.
  The <code>.git</code> folder is still 6GB though.</p>
  <p>What is the right approach to remove the commit that came from origin and get access to my original commits again?</p>