$ export https_proxy=http://127.0.0.1:7890
$ export http_proxy=http://127.0.0.1:7890
$ export all_proxy=socks5://127.0.0.1:7890
$ curl -I https://google.com 2>/dev/null | head -1
HTTP/2 200
$ git clone https://github.com/user/repo.git
Receiving objects: 100% ████████████████ 12.4 MiB/s
$