title: What can I do with Git corruption due to a missing object?
body: <p>I just went to clone a repository on another remote server and ran into an issue trying to do so:</p>
  
  <pre><code>git clone git@codebasehq.com:blah/blah/docs.git
  Cloning into docs...
  remote: Counting objects: 343, done.
  remote: error: unable to find 14f87a739828e4d489b0310a51e057b30333926e
  remote: Compressing objects: 100% (325/325), done.
  error: git upload-pack: git-pack-objects died with error.   
  fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
  remote: fatal: unable to read 14f87a739828e4d489b0310a51e057b30333926e
  remote: aborting due to possible repository corruption on the remote side.
  fatal: early EOF
  fatal: index-pack failed
  </code></pre>
  
  <p>I did a little research and found out about <code>git fsck</code>, here is the output:</p>
  
  <pre><code>$ git fsck --full
  error: sha1 mismatch 14f87a739828e4d489b0310a51e057b30333926e
  
  error: 14f87a739828e4d489b0310a51e057b30333926e: object corrupt or missing
  missing blob 14f87a739828e4d489b0310a51e057b30333926e
  </code></pre>
  
  <p>All other people with similar problems have a broken link issue or something. I'm still fairly new with Git, does anyone know how to fix this?</p>
  
  <p>I can still push to my central remote repository, but I can't clone it.</p>
  
  <p><code>14f87a739828e4d489b0310a51e057b30333926e</code> is a blob that is a markdown file in the repository root. I tried deleting this file and push those changes to no avail.</p>
  
  <hr>
  
  <p><strong>Edit:</strong> Is it possible to import git history from a another repo? I'm thinking I could just start a new repo and copy my files into it and then import the commit history.</p>