export ALL_PROXY=socks5://127.0.0.1:1080 git clone --depth 1 https://github.com/xxx/xxx.git unset ALL_PROXY