I can also recommend hosting your own Gitea/Forgejo instance, it has an automatic repository mirroring feature that fetches the repo regularly. I use it to mirror some "high-risk" repos.