The best way to accelerate the speed to git clone repositories of github
1. Download Switch Host this software first , Address is https://github.com/oldj/SwitchHosts/releases ,install it on your own computer
2. copy this link (press these two keys on your computer : command+c on mac or controal +c on windows)
[url=https://raw.githubusercontent.com/Mosiki/github/master/github_hosts.txt]https://raw.githubusercontent. ... s.txt[/url]
3.. add this command to your switch host software . Please see as follows:

you can also see it on youtube:
4. turn that button right side of github host to green . Ok you all done it .
now git clone https://github.com/torvalds/linux.git
for a test in your terminal. How fast it is!!