While doing git push, I receive this error:
Username for \'https://github.com\': Newbie
Password for \'https://Newbie@github.com\':
Counting objects: 11507,
It will work after increasing Git’s HTTP buffer by setting the git config var http.postBuffer to 524288000.
git config http.postBuffer 524288000
Try building git using openssl libraries. Refer to this post. You may have to compile git in Windows. I hope that helps.
Poor network connection was the issue for me. Check your internet strength.
I was running into a very similar issue, though I was deploying to an Azure Web App via a git push. I received this error:
RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054
The remote end hung up unexpectedly
The solution for me was to change my deployment environment from a Macbook to a Windows desktop. See this answer for full details.