How to configure proxy in GIT?

  1. Check if the http_proxy Environment variableis is set.
  2. Type git config --global http.proxy proxy_addr:proxy_port.