title: Broken pipe when pushing to git repository
body: <p>I'm trying to push for the first time a code to my git repository but i get the following error:</p>
  
  <blockquote>
  <pre><code>Counting objects: 222026, done. 
  Compressing objects: 100% (208850/208850), done. 
  Write failed: Broken pipe222026) 
  error: pack-objects died of signal 13 
  fatal: The remote end hung up unexpectedly error: failed to push some refs to 'ssh://git@bitbucket.org/&lt;...&gt;'
  </code></pre>
  </blockquote>
  
  <p>I tried to increase the http buffer size (<code>git config http.postBuffer 524288000</code>), I tried to <code>git repack</code>, but it did not work.</p>
  
  <p>I was able to push a very similar size code to another repository (it was not working like this one, but after the <code>git repack</code> it did work). I'm trying to push it to bitbucket.</p>
  
  <p>Any ideas?</p>