The same applies to literally all other offerings.
If the other party ceases to do business with you, you're just SOL. Not even a custom domain will protect you from that, as your register can effectively terminate it without releasing the domain.
It's always a question if risks, and they're miniscule for both GitHub and gitlab