DEV Community

Cover image for Git or No Git, the difference between Github and Gitlab (and how to install it)
TechWithJoe
TechWithJoe

Posted on

Git or No Git, the difference between Github and Gitlab (and how to install it)

Godzilla vs King Kong. Optimus Prime vs Megatron. GitLab vs Github. What do all three of these things have in common? Preference. And just as science fiction fans have their preferences for their favorite character, users of online repository management systems have their preferences as well.

Github vs Gitlab:

Github and Gitlab are very similar services, in which users can share and work on different codes, while seeing the changes in real time. All the changes to each repository are documented and saved. Not only are these service for editing code, but it is very easy to share code as well.

Enough of the similarities, what makes each of these services different? First off, Github is an open source service, where your companies (or your personal) code is freely available to anyone on the service. As a company, this would be great to get outsider help. However, Gitlab is the opposite, where you are on a private server, and you are more in control of your repository. For instance, the owner can set administrative restrictions and roles for different individuals. A company would use this over Github to make more specific tasks for individuals, without them getting ahead of themselves. Another Key difference between the two services is Github allows for easier importation of data from other vendors, as well as easier exportation services, while Github is more restrictive to its own website.

How to install GitLab?

  1. Find a cloud service to utilize GitLab on. In my guide, I will be using Reclaim Cloud, as you only have to pay for the service you use, not a set price. Go through the setup for Reclaim Cloud. https://reclaim.cloud/

  2. Sign up for Reclaim Cloud. While you are signing up, buy the Premium access. Just do it, you wont regret it later (Plus, free money!)

  3. After creating an account and getting into the Dashboard, navigate back to the home screen and find the "Applications" tab. You will them look for "DevOps Lab - GitLab Server". Once you find this option, you will install this Server. It should redirect you back to the dashboard where a loading screen will update you on your progress (this takes a little while)

  4. Once installed, click on the "Change Environment topography", locate the Gitlab server "Vertical Scaling per node" setting, and boost the cloudlets up to 32 (12.8 Ghz). This will allow you to access Gitlab as the best speeds, for only a slight increase in spending (Worth it.)

  5. Add your repositories and get to work! You can do this by going directly to Gitlab.com and linking this with the reclaim cloud dashboard. You are all set!

If it would be easier to see this process in a video demonstration, I have posted a link below. Otherwise I hoped this help, and enjoy Gitlab!

Video: https://www.youtube.com/watch?v=i1aUAnshMKw

Top comments (0)