On windows this can be located in %userprofile%. Add the following to the file.
[http] proxy = http://my.proxy.net:8080 [https] proxy = http://my.proxy.net:8443 [http "http://no-proxy-server"] proxy = ""