title: How do I tighten my objects?
body: <p>When I try to pull on Sourcetree I get:</p>
  
  <pre><code>git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
  error: inflate: data stream error (unknown compression method)
  fatal: loose object 982fcbfe3c97cec4319853db4e32bd77f72ae0bf (stored in .git/objects/98/2fcbfe3c97cec4319853db4e32bd77f72ae0bf) is corrupt
  
  
  fatal: index-pack failed
  </code></pre>
  
  <p>I got this message previously with a different random string of letters/numbers, and decided to delete that specific file and then I got this one. So I'm assuming that if I delete, pull, delete, pull etc. I will eventually clear all errors and be able to pull.</p>
  
  <p>Is there a way to fix all these errors at once? ie. tighten these objects so they don't produce a "loose object error".</p>
  
  <p>Why am I getting this? What does it actually mean to be a loose object? What is the likely cause of this (ie. what did I do wrong to get this) and how can I avoid this in the future?</p>
  
  <p>Edit: it seems like my assumption was wrong, after deleting several of these files and trying to pull again, I get <code>Fatal: pack has 88 unresolved deltas</code>. <code>fatal: index-pack failed</code>. Note: I didn't actually delete the files I just moved them away, if they're still needed.</p>