There is a case to be made for the idea that America-hosted, America-doctrine birthed, websites, do not jive with everybody on the planet. The idea that Github is beyond reproach and blocking it makes no sense is superficially tempting, until you realise that the vast, vast majority of projects on it are America-led. Why is it so surprising to block a culture which is permeating the planet, to the detriment of other cultures? And of course many non-Americans will object to this idea, but that is because they tend to me the top of their local game and looking to be hired into (or otherwise benefit from) the America-led capital-driven, individual first at the expense of the community, ideology.
There is a tendency to knee-jerk condemn these blockages, including those in China, or indeed in Europe. It is not obvious to me that some kind of barrier to the Americanisation of the planet, including via its dominant websites, is such a bad thing.