title: Bitbucket cannot clone repository "fatal: early EOF fatal: index-pack failed"
body: <p>I am trying to clone my repository using <code>ssh</code> from <code>bitbucket</code> but whenever i clone the repository i get:</p>
  
  <pre><code>Connection to bitbucket.org closed by remote host.00 KiB/s
  fatal: The remote end hung up unexpectedly
  fatal: early EOF
  fatal: index-pack failed
  </code></pre>
  
  <p>During cloning repositories of <code>small size</code> it gets cloned but when cloning <code>bigger size</code> repositories gives the error.
  I also have tried this method:</p>
  
  <p><a href="https://stackoverflow.com/questions/21277806/fatal-early-eof-fatal-index-pack-failed">fatal: early EOF fatal: index-pack failed</a></p>
  
  <p>but no luck. Could any one help with the issue?</p>
  
  <p><strong>Note:</strong> </p>
  
  <p><code>Http</code> cloning works fine, but that doesn't work in my scenario. I need to clone using only <code>ssh</code>. </p>