If your IP (and possible your browser) looks “suspicious” or has been used by other users before, you need to add additional information for registration on gitlab.com, which includes your mobile phone number and possibly credit card information. Since it is not possible to contribute or even report issues on open source projects without doing so, I do not think any open source project should use this service until they change that.
Screenshot: https://lemmy.kya.moe/imgproxy?src=i.ibb.co%2fXsfcfHf/gitlab.png
If you really want to, you can add a “log in with Github” button to your Gitlab server: https://docs.gitlab.com/ee/integration/github.html