We sometimes have the requirement to mirror a git repository to another location. Gitlab supports this in all tiers. Simply go to Settings -> Repository and expand the Mirror section. Enter the URL of the target git repository and choose if you want to push or pull code to or from the target repository. Gitlab also needs either an SSH key or a password to access the target repository. You can also choose to only sync protected branches. Regarding to how we work that would mean only the master branch is synced. More details can be found in the Official Documentation.