

It seems your context is specific. If a country is actively hostile against other countries, occupying territories, forbidding people to visit the dangerous area is a common sense.
Making individual user to not be able to contribute to GitHub literally does not do anything towards the regime. In fact, it’s just making the regime to make alternative platform that controlled by the government to censor the voice. The people basically living on their own bubble and potentially disconnected to the world.
People are not tolerating to the regime.
We are helping individual to contribute on open source project.
We should punish the government, but not individual participation in global community.