Fix "Git RPC failed with curl 56 and error -9806" issue on Mac

More than 1 year has passed since last update.

Git failed when trying to push.

SinriMac:~/Codes/WebProjects/ourbible/assets/bible/LXX Sinri$ git push

Counting objects: 1205, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1199/1199), done.
Writing objects: 100% (1205/1205), 2.23 MiB | 648.00 KiB/s, done.
Total 1205 (delta 5), reused 0 (delta 0)
error: RPC failed; curl 56 SSLRead() return error -9806
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

First tried git config http.postBuffer 524288000 but still sick.

Then found a solution online.

brew remove git

brew remove curl

brew install openssl
brew install --with-openssl curl
brew install --with-brewed-curl --with-brewed-openssl git





Good, ok now.