GitLab has some project visibility settings that you can utilize to control visibility and prevent users from publishing repos to the public: https://docs.gitlab.com/ee/user/public_access.html#restrict-...
Alternatively, private groups can only have private projects: https://docs.gitlab.com/ee/user/public_access.html#private-p...