Solution: Use domestic mirror website
For example, the project originally cloned Github:
git clone https://github.com/samples
Now only need to replace https://github.com with a domestic mirror website
There are currently two good URLs in China that can be replaced
1. git clone https://github.com.cnpmjs.org/samples
// 或者
2. git clone https://git.sdut.me/samples