set:

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

 

unset:

git config --global --unset http.proxy