I created an empty repository called empty and cloned it to local storage.
Counting objects: 3, done.
Writing objects: 100% (3/3), 215 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
POST git-receive-pack (351 bytes)
error: RPC failed; result=52, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
I tried the ssl and the buffer settings, but no help.
git config http.postBuffer 524288000
git config --global http.postBuffer 524288000
config --global --bool --add http.sslVerify false
git config http.sslVerify false