method1
https://blog.csdn.net/qq_36393978/article/details/127531104
method2
https://zhuanlan.zhihu.com/p/378894743
# http
git config --global http.https://github.com.proxy http://127.0.0.1:8080
git config --global https.https://github.com.proxy https://127.0.0.1:8080