It's to do with the definition of Social Media in the legislation. If you can make comments that anyone on the Internet can read from your account, then you qualify as social media. That's an incidental aspect of what GitHub does, so it makes perfect sense for that site to be excluded from the ban.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments