Ubuntu 配置 github 代理
参考:虚拟机 ubuntu 20.04 git 设置代理的方法_ubuntu_张世争-华为开发者空间 (csdn.net)
查看 Windows 的 IP,例如:192.168.10.100
然后回到 ubuntu 中
git config --global https.proxy https://192.168.10.100:7890
git config --global http.proxy http://192.168.10.100:7890
然后重新 git,发现正常连接。