In your case buffer size of git is not sufficient in your system. So you can increase buffer size by exporting bellow environment variable.
You can do that permanently for all, using the git config command.
git config --global http.postBuffer 5000000000
Hope this will help you.