This error may appears when you trying to push changes into remote git repository. Don’t panic! It’s really simple to fix.
$ git push origin master
error: RPC failed; result=22, HTTP code = 411 fatal:
The remote end hung up unexpectedly fatal:
The remote end hung up unexpectedly Everything up-to-date
This is caused by a Git configuration default which limits certain HTTP operations to 1 megabyte. You can increase it:
git config http.postBuffer 524288000
This is your local limits, so it’s not necessary to change limits on the remote repository.