Wouldn't this just add more fuel to the fire for China to crackdown on access to GitHub and ultimately make it even harder for engineers there to use and contribute to projects? Only asking because I recall a time where they did indeed block GitHub because of some of the projects hosted and I'd imagine this might potentially cause a similar course of action.
I don't think they could afford to block it because China's tech sector is dependent on lots of American-developed open source projects hosted on it. They could set up their own git service and fork them, but they wouldn't get the benefit of ongoing development; they'd be on their own. It's almost like connecting with the rest of the world has tangible benefits...
Yup the PRC's approach so far has been to force the rest of the world of kowtow, company by company, to their ridiculous petulant insecurities and autocratic fascism. That way they get the best of both worlds - a connection to a wide world the paranoid, boot-black politburo need not fear.