可以尝试将:
git clone https://github.com/xxx.git
修改为:
git clone git://github.com/xxx.git
参考:
https://blog.csdn.net/xiachong27/article/details/79611739