git: How to clone repository via SOCKS5 proxy
You can clone a Git repository via a SOCKS5 proxy by setting the ALL_PROXY
environment variable:
ALL_PROXY=socks5://localhost:1080 git clone REPO_URL
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow