title: Can't push commit to GitHub in IntelliJ: fatal: the remote end hung up unexpectedly
body: <p>I'm getting the following error when I try to commit and push to my GitHub repo.</p>
  <pre><code>Push failed
          RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
          the remote end hung up unexpectedly
          Total 1116 (delta 148), reused 45 (delta 0)
          the remote end hung up unexpectedly
  </code></pre>
  <p>And following in the Git Console (Read-Only):</p>
  <pre><code>Total 1116 (delta 148), reused 45 (delta 0)
  fatal: the remote end hung up unexpectedly
  </code></pre>
  <p>So from what I have been able to find out so far it is because the commit is too big. That's realistic because I added about 0.7 GB of test resources to my local files and IntelliJ added them to the repo.</p>
  <p>I have very little experience with GitHub and I don't know how to get out of this ?</p>
  <p>I tried to fix it by deleting the resource folder from the repo (on Github.com) and adding it to gitignore file than updating the project in IntelliJ. This first seemed to work but after I edited a few lines of code and tried to commit and push the same error came.</p>
  <p>So what to do now? I've found something about setting the buffer size (?) but I don't know how to do it in IntelliJ (after all the git console in IntelliJ is read-only).</p>