git config --global http.https://github.com.proxy http://proxyUsername:proxyPassword@proxy.server.com:port
e.g.
git config --global http.https://github.com.proxy http://127.0.0.1:port
git config --global http.https://github.com.proxy http://proxyUsername:proxyPassword@proxy.server.com:port
e.g.
git config --global http.https://github.com.proxy http://127.0.0.1:port