I\'m trying to use Git through a proxy. I\'ve tried setting parameters \'git config --global\' in a lot of ways but always without success when cloning repositories.
If you're already behind a proxy and getting this error, you will have to clear http.proxyandhttps.proxy:
git config --global --unset http.proxygit config --global --unset https.proxy