Yes, this happened at least once before, when the Spanish government asked GitHub to take down repositories related to applications helping citizens to organize focused protests: https://github.com/github/gov-takedowns/blob/master/Spain/20...
The group that was focused in the take down requests was "Tsunami Democràtic", which you can find some background information about here: https://en.wikipedia.org/wiki/Democratic_Tsunami