make git clone
faster in China Mainland by changing source.
fasterclone GITHUB-REPO-URL
- python 3.6+
$ ./fasterclone.py https://github.com/Blithe-Chiang/breakfast.git
It will perform git clone
https://github.com.cnpmjs.org/Blithe-Chiang/breakfast.git since using this URL will be faster than the original URL in China Mainland.