目前已知Github国内镜像网站有github.com.cnpmjs.org和git.sdut.me/。速度根据各地情况而定,在clone某个项目的时候将github.com替换为github.com.cnpmjs.org即可。
还有 https://hub.fastgit.org/
示例
//这是我们要clone的
git clone https://github.com/xxx/xxx
//使用镜像
git clone https://github.com.cnpmjs.org/xxx/xxx
//或者
//使用镜像
git clone https://git.sdut.me/xxx/xxx