fatal: unable to access 'https://github.com/XXX/XXXXX.git/': OpenSSL SSL_connect: Connection was reset in connection to github.com:443
Suddenly I'm getting above error while I try to git pull, git push, or clone the repo.
I also encountered a similar situation; that's when I came across an answer on Code Grepper by Shibbir Ahmed, where he provided this:
git config --global --unset-all remote.origin.proxy
That solved the issue for me.