There are several issues on Gitlab that deal with the question of federation and building a network of the seperate instances:
- Discover self-hosted projects from gitlab.com [0]
- Implement cross-server (federated) merge requests [1]
- Share events externally via ActivityPub [2]
Afair Gitlab Enterprise edition currently supports some forms of federation.
[0] https://gitlab.com/gitlab-org/gitlab-ce/issues/36025 [1] https://gitlab.com/gitlab-org/gitlab-ce/issues/4013 [2] https://gitlab.com/gitlab-org/gitlab-ce/issues/44486