一. 写的很好推荐,(http与ssh设置都有)
https://imciel.com/2016/06/28/git-proxy/
二. 只有 http的方式代码设置
http://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server
[转发] git设置代理
原文:http://www.cnblogs.com/jhj117/p/6340040.html