Since a few days I got an issue with Mac OS High Sierra 10.13.3 :
When I run a git clone
like git clone github.com/xxx.git failed
it print:
1) Tried creating a new branch and pushing. Worked for a couple of times but faced the same error again.
2)Just ran these two statements before pushing the code. All I did was to cancel the proxy.
$ git config --global --unset http.proxy
$ git config --global --unset https.proxy
3) Faced the issue again after couple of weeks. I have updated homebrew and it got fixed