On-prem Git with mirrors. (with Googs, Gitea, GitLab as a GUI...)
Developers should also keep local clones and so the CI, etc.