I had this problem twice. I am running Linux. The first time I was on a network that required a proxy. See this link to find out how to fix proxy settings: How can I extract from a Git repository through an HTTP proxy?
Then I took my configured proxy server to a network that did not require a proxy server, and again received this error.
To disconnect my computer for a proxy server,
git config --global --unset http.proxy unset http_proxy unset https_proxy unset ftp_proxy unset all_proxy unset FTP_PROXY unset ALL_PROXY unset HTTPS_PROXY unset HTTP_PROXY
I'm not sure I needed to disable all of these variables, but I certainly need more than just the first two.
atlas source share