How to configure proxy in GIT?

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