Well, it depends on where you post it, right? Because if you are using a GitHub which probably is US based, you follow the laws related to US?!
Demanding that the law of a country should be followed by another is totally no sense. They can agree, make agreements about it, and even take legal action to the Highest court, so it could be evaluated, but using your nationality as an argument of what you can do, it's just plain wrong.