Consider self-hosting via gogs.io or gitea, and use them to mirror your key repo dependencies ...
Is this possible with a self-hosted gitlab?
Trying to get that to push to a cloud repo (GCP/Azure/whatever) as backup. Managed to selfhost gitlab but at the edge of my technical git knowledge here