git config --global http.proxy http://user:password@ip:port
https://blog.csdn.net/lizhihaoweiwei/article/details/76849755?utm_term=git设置全局代理&utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2allsobaiduweb~default-0-76849755&spm=3001.4430