And nothing is stopping you from renting a VPS from a provider based in that country and running gitlab or something.
The worst part is sharing around a sketchy URL but, that just comes with the territory when you're in the DMCA dodging parts of the internet.
I struggle to think of anywhere on the entire open internet you could put something like this where it could not be taken down.