I can add and commit, but I cannot push to any repo. The error message goes like this: fatal: unable to access '[my github repo]': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
I re-installed git and got the same error. I tried to change repo, and even others' public repo, and got the same error, except the last three digits were a bit different - 403.
The problem happens to both Mac and Windows. I'm using Astrill VPN, but the problem exists even when I turn it off.
-- Update: --
I used git config --global --unset http.proxy and it worked, but after I pushed to this repo, I need to do it again to push to my friend's repo. So I think the question is, how to make git not set a proxy automatically after each push.