Protesting in that manner isn't without consequence even if the thing being protested for is right or something else is worse to do. "It was in protest" is a reasoning not an absolution.
The entity doing the hosting gets to decide what it wants to host. In this case that is GitHub. For the other consequences it depends on the action, where it took place, and what it resulted in to find who assigns and administers the consequences.
I'm not arguing that there should be no consequences for what this person did. I am questioning the ability for an application like Github to essentially "cancel" someone like this whenever they feel like it.
Someone else no longer providing his code hosting being equivalent to being "canceled" aside what is the alternative to the hoster being able to chose what is hosted/spread for others?