git config --global http.proxy http://proxyUsername:proxyPassword@proxy.server.com:port

如

git config --global http.proxy http://192.168.124.9:7890