Git proxy and no_proxy setting (both working on Ubuntu/Windows)
git
Lastmod: 2019-11-16

ref Only use a proxy for certain git urls/domains?

set the environment variables:

http_proxy=http://username:password@proxydomain:port
https_proxy=http://username:password@proxydomain:port
no_proxy=.domain.com,localhost,127.0.0.1,::1

git uses these environment variables.