China does have their own Github as gitee.com¹ which runs a fork of Gitea but it's basically dead because it's impossible to have anything like Github with the current censorship aparatus. Here's the excerpt from wiki:
> On 18 May 2022, Gitee announced all code will be manually reviewed before public availability.[4][5] Gitee did not specify a reason for the change, though there was widespread speculation it was ordered by the Chinese government amid increasing online censorship in China.[4][6]
> On 18 May 2022, Gitee announced all code will be manually reviewed before public availability.[4][5] Gitee did not specify a reason for the change, though there was widespread speculation it was ordered by the Chinese government amid increasing online censorship in China.[4][6]
1 - https://en.wikipedia.org/wiki/Gitee