title: Getting Error like "git error: "index file is too small"
body: <p>I had to re-install the OS (Windows 7 x64), everything related to the project was on another partition so my projects remained. Among the applications that I needed to install was also git but after I tried to see what is the status of the project (<code>git status</code>) the following exceptions occurred:</p>
  <pre><code>error: index file .git/objects/pack/pack-d3325f684a4eca22c0c168d7c63119da147865e 4.idx is too small
  
  error: index file .git/objects/pack/pack-d3325f684a4eca22c0c168d7c63119da147865e
  4.idx is too small
  
  error: index file .git/objects/pack/pack-d3325f684a4eca22c0c168d7c63119da147865e
  4.idx is too small
  
  error: index file .git/objects/pack/pack-d3325f684a4eca22c0c168d7c63119da147865e
  4.idx is too small
  
  warning: packfile .git/objects/pack/pack-dc512716779f21b39f70fea9afcb5baa36ea872
  d.pack cannot be accessed
  
  error: index file .git/objects/pack/pack-d3325f684a4eca22c0c168d7c63119da147865e
  4.idx is too small
  </code></pre>
  <p>fatal: unable to read tree 30cda07e931a7c9f3b1e3383c18efa10b2523c67</p>
  <p>This is a first one for me. I was wondering whether somebody else encountered something similar and which was the solution for it.</p>
  <p>Thank you!</p>