It would be really hard for them to ban BTC code unless there was some "National Security" label attached to it.
Given that, I'm sure dozens of private Gitlabs would start springing up with the source code (mine included).
Ultimately, even in the most extreme of worst cases, a Gitlab (or any other code versioning tool, such as Google's in-house created [Gerrit](
https://gerrit.googlesource.com/gerrit)) would spring up over VPN and TOR and BTC would go on just fine.