Realistically, github will probably never try to censor bitcoin-related code en masse. It would be a PR nightmare for them.
They might cooperate with one or two special takedown requests for things like anonymous coins, or coinjoin protocols. But the vast majority of projects will be safe, and if they are taken down, many will probably be reinstated.
For precedent, consider how youtube-dl, probably the most popular music piracy tool online, is still available on github even after a highly-controversial and well-funded industry-led push to purge it.
Bitcoin, unlike music piracy, is a legitimate industry with a market capitalization which github cannot ignore.
youtube-dl
, probably the most popular music piracy tool online, is still available on github even after a highly-controversial and well-funded industry-led push to purge it.