Sometimes it’s bloody slow to clone a repository from GitHub in China mainland, so follow the following way to clone the repos from GitHub Chinese mirror site:
Steps:
Just replace www.github.com with www.github.com.cnpmjs.org, like the following example: