Use the http proxy in the machine, such as the title of an error occurred after a system update, the solution is to cancel the http proxy.
git config --global --unset http.proxy
Of course, you can also edit the configuration file delete proxy configuration items.
we ~ / .gitconfig