Git

How To Use git with Multiple Remote Repositories
git can be configured to push and pull from many locations at once, enabling you to store your code on two different platforms while only maintaining one local copy. Here’s how to set it up.
Gitea Official Website
Gitea - Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
Forgejo – Beyond coding. We forge.
Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.

GitLab

GitLab Docker images | GitLab
Documentation for GitLab Community Edition, GitLab Enterprise Edition, Omnibus GitLab, and GitLab Runner.
GitLab and SSH keys | GitLab
Documentation for GitLab Community Edition, GitLab Enterprise Edition, Omnibus GitLab, and GitLab Runner.