title: Push fails to GitHub "RPC Failed" and "remote end hung up unexpectedly"
body: <p>I am using Git out of PyCharm on Windows 10.</p>
  <p>I am trying to push the initial commit to a &gt;2Gb GitHub Repo.</p>
  <p>Just before pushing to the private Repo, I get the following error message in the Event Log:</p>
  <pre><code>Push failed
  RPC failed; curl 18 transfer closed with outstanding read data remaining
  the remote end hung up unexpectedly
  Total 492 (delta 98), reused 0 (delta 0)
  the remote end hung up unexpectedly
  </code></pre>
  <p>This Error occurs repeatedly even after changing the buffer size as advised <a href="https://confluence.atlassian.com/stashkb/git-push-fails-fatal-the-remote-end-hung-up-unexpectedly-282988530.html" rel="nofollow noreferrer">here</a>.</p>
  <p>Detailed Error Log shortend with [...] when repetitive:</p>
  <pre><code>21:10:15.242: [reponame] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false add --ignore-errors -A -f -- README.md
  21:10:15.933: [reponame] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false commit -F C:\Users\name\AppData\Local\Temp\git-commit-msg-.txt --amend --
  [master b8c325d] comittmesssage
   Date: Sun Dec 13 19:25:51 2020 +0100
   485 files changed, 49125 insertions(+)
   create mode 100644 file.txt
   create mode 100644 file.exe
   create mode 100644 README.md
   create mode 100644 file.JPG
  [...]
   create mode 100644 file.JPG
  21:11:06.017: [reponame] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/master:master --set-upstream
  Enumerating objects: 492, done.
  Counting objects:   0% (1/492)
  [...]
  Counting objects: 100% (492/492)
  Counting objects: 100% (492/492), done.
  Delta compression using up to 4 threads
  Compressing objects:   0% (1/490)
  [...]
  Compressing objects: 100% (490/490)
  Compressing objects: 100% (490/490), done.
  Writing objects:   0% (1/492)
  Writing objects:   1% (5/492)
  [...]
  Writing objects:  79% (393/492), 1.99 GiB | 1.10 MiB/s
  Writing objects:  79% (393/492), 2.00 GiB | 1.13 MiB/s
  error: RPC failed; curl 18 transfer closed with outstanding read data remaining
  fatal: the remote end hung up unexpectedly
  Writing objects:  80% (394/492), 2.00 GiB | 1.14 MiB/s
  [...]
  Writing objects: 100% (492/492), 2.64 GiB | 25.77 MiB/s
  Writing objects: 100% (492/492), 2.65 GiB | 1.44 MiB/s, done.
  Total 492 (delta 98), reused 0 (delta 0)
  fatal: the remote end hung up unexpectedly
  Done
  22:00:20.158: [reponame] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/master:master --set-upstream
  Enumerating objects: 492, done.
  Counting objects:   0% (1/492)
  [...]
  Writing objects:  79% (393/492), 1.99 GiB | 1.04 MiB/s
  error: RPC failed; curl 18 transfer closed with outstanding read data remaining
  fatal: the remote end hung up unexpectedly
  Writing objects:  80% (394/492), 2.00 GiB | 1.04 MiB/s
  [...]
  Writing objects: 100% (492/492), 2.65 GiB | 1.40 MiB/s, done.
  Total 492 (delta 98), reused 0 (delta 0)
  fatal: the remote end hung up unexpectedly
  Done
  </code></pre>
  <p>I hope for Suggestions for my problem. Thank you.</p>