title: Git push error: RPC failed: curl 52
body: <p>git push fails with following error</p>
  
  <pre><code>fatal: RPC failed: curl 52: Empty reply from server
  </code></pre>
  
  <p>The upload succeeds in case only one file was modified, added or deleted.</p>
  
  <p>The following settings to don't work reliably</p>
  
  <pre><code> git config --global --add core.compression -1
  </code></pre>
  
  <p>The git version is 2.8.2 running on ubuntu 14.04, and I have tried with both openssl and gnutls compilations.</p>
  
  <p>ssh remotes also fail. </p>
  
  <p>The problem is encountered with repositories of </p>
  
  <pre><code>bitbucket
  github
  gitlab
  </code></pre>
  
  <p>Fail safe answers appreciated</p>