GitLab is like GitHub. It works almost exactly like it.
It has however some massive advantages over Gihub
-
Private repos, this means repository that you dont want to let anyone see at your code or share your assets. Github will ask you to pay for this, Gitlab you can have unlimited amount of private repos for free
-
10 GB repos. Generally this is not a big issue with Github if you dont care about your repo being public. Github only offers 2GBs per repository but one of the capabilities of git is being able to connect multiple repositories under the same roof, it calls them submodules. However this is also something you can do with GitLab with the big difference that GitLab offers 10 GBs per repository which make it far less likely that you will need to brake your game to multiple repositories. Remember here that git compresses data which means that the actual size of a repo in Gitlab can reach up to 100 GBs depending on the compression.
-
Private server. This is not something that as a begineer your will want to do but later on when you feel that your game gains some value you may want to put it in private server that only you and your team can access, plus you will have much bigger power over managing your repository. GitLab unlike Github allow you host outside its servers.
-
Free software. By free we dont mean here just that you dont have to pay anything to GitLab but foremost that the code is open source that means that you are far safer that GitLab will continue to exist way longer after GitHub has vanished.
Remember also both Github and Gitlab allow you to host as many websites as you want for your projects.