use https proxy in bash,cmd,git,PowerShell
#cmd
set https_proxy=http://127.0.0.1:8118
#PowerShell
$env:https_proxy="http://127.0.0.1:8118"
#bash
export https_proxy=http://127.0.0.1:8118
#git
git config --global https.proxy http://127.0.0.1:8118
#cmd
set https_proxy=http://127.0.0.1:8118
#PowerShell
$env:https_proxy="http://127.0.0.1:8118"
#bash
export https_proxy=http://127.0.0.1:8118
#git
git config --global https.proxy http://127.0.0.1:8118