What I suggested and GreatFire is miles apart. Moreover, I'm not saying that throwing up some wikipedia articles about Tiananmen, Chairman Mao, etc. will result in China being forced to block GitHub or attack you. The path to success is to have the repo spread to tens of millions of Chinese locals. Regular people, not just the tech savvy that knows what a VPN is. It certainly won't be easy, especially considering they can easily shadowblock all links to the repo, the name of the repo, a picture with a link/QR, etc.
By the way, people have already been and continue to be tracked down and attacked for doing these kinds of things (a notably incident that reached the front page of HN: https://news.ycombinator.com/item?id=10101469), so no, the assumption that people will be attacked for doing this is most definitely not wrong.