title: Wrong .git folder
body: <p>I'm setting up a new dev server and, at the same time, cutting out access for a former agency.  This includes setting up a new repo and getting rid of theirs.
  So I used rsync to copy files from the live server to a dev one.  I then deleted the .git folder, created a new repo and set it up to push there.  During this time there were some changes done to the live server so I decided to rsync once more.  I completely forgot about the .git folder and I cancelled the rsync as soon as I realized, but I was too late and it copied some of the .git from the old repo to the new one that was created.  Now I'm getting errors, listed below.</p>
  
  <pre><code>warning: reflog of 'refs/remotes/origin/snagging-882' references pruned commits
  warning: reflog of 'refs/remotes/origin/snagging-896' references pruned commits
  warning: reflog of 'refs/remotes/origin/snagging-899' references pruned commits
  warning: reflog of 'refs/remotes/origin/snagging-911' references pruned commits
  warning: reflog of 'refs/remotes/origin/develop' references pruned commits
  warning: reflog of 'refs/remotes/origin/staging' references pruned commits
  warning: reflog of 'refs/remotes/origin/review' references pruned commits
  error: Could not read c1fd5ccb43ddea672fa5b141a0fdb0d65d813b8a
  fatal: Failed to traverse parents of commit 57c5f1c268a7775ebab6ee4f42d94dec2159844f
  error: failed to run repack
  </code></pre>
  
  <p>Can I restore my .git folder somehow or do I need to create again?</p>
  
  <p>Thanks</p>