Add the relevant files to make your package ready for hosting on a Gitlab. It depends on the git option for the local side of version management.

This option takes care of the local package side of gitlab (e.g. .gitignore file) but you still need to register your project on gitlab. See Register on Gitlab for example.