解決策:国内ミラーサイトを使用する
たとえば、プロジェクトはもともとGithubを複製していました:
git clone https://github.com/samples
https://github.comを国内のミラーWebサイトに置き換えるだけです。
現在、中国には2つの優れたURLがあり、置き換えることができます
1. git clone https://github.com.cnpmjs.org/samples
// 或者
2. git clone https://git.sdut.me/samples