title: Why can't I clone "FATAL ERROR: Server unexpectedly closed network connection"?
body: <p>When trying to clone a repository, I get an error, what am I doing wrong?<br />
  I use putty, ssh access.<br />
  I clone a repository from Bitbucket via Sourcetree.</p>
  <pre class="lang-sh prettyprint-override"><code>FATAL ERROR: Server unexpectedly closed network connection  
  fatal: the remote end hung up unexpectedly  
  fatal: early EOF  
  fatal: index-pack failed  
  Completed with errors, see above.  
  </code></pre>
  <p>If you set Clone depth 1 in the cloning settings (the standard depth is 0) then cloning is performed without errors, but then cloning is superficial and so this does not solve my problem.</p>