I am using git behind a corporate firewall, and I am successfully cloning external projects by using the http.proxy --global config.
My problem arises when I want to
In my case, I was able to disable git clone requests going through the proxy in my corporate setting by executing
git config --global --add remote.origin.proxy ""
As per the git documentation, this disables all requests to that remote repo named origin.