DEV Community

CleverInsect
CleverInsect

Posted on

GitLab vs GitHub

Git is a version control system that allows developers to keep their code organized by keeping track of previous versions of their code. It also allows other developers to copy the code and make changes to it. Developers can take another developers code and change it and then submit the revised code back to its original creator, this is known as a pull request. The original creator can then decide whether or not to merge that code with their work.

GitHub

One of the ways to use git is through GitHub. GitHub is a repository hosting service and a git repository stores all the different versions of code. This allows users to access previous versions of their code and allow them to compare the code they made and the code that was altered by other developers. With GitHub multiple developers can work on the same code and resolve issues faster. Some of the features of GitHub are it can compare different versions of the code, users can create a private repository but only have a maximum of three developers, and GitHub allows users to point out specific areas of the project and create milestones for where the project should be.
image

GitLab

GitLab is another git repository hosting service like GitHub, but provides a lot more features and ways for users to track what happens to their code. GitLab allows more than three developers to work on a private repository and it allows users to give and restrict permissions based on a developer's role. GitHub is also effective at tracking issues and developers can easily report any issues they find and can assign someone to correcting it. Developers can also create commit graphs and use reporting tools to monitor all the changes and work that is being done. GitHub does not have a built in deployment platform, but instead a developer would need to add another application for the code to be able to deploy. GitLab, however, does have built in and easy way to deploy code. GitHub and GitLab are very similar and provide the same things, but GitLab provides more than what GitHub has.
image
Personally I prefer to use GitLab. Even though GitHub was created first GitLab offers more. GitLab is more useful in planning, verifying, configuring, and monitoring.
imageImage Source: GitHub
Here is a Video were I go into more detail:
YouTube
Sources:
https://git-scm.com/
https://www.geeksforgeeks.org/difference-between-gitlab-and-github/
https://www.geeksforgeeks.org/bitbucket-vs-github-vs-gitlab/?ref=rp
https://about.gitlab.com/devops-tools/github-vs-gitlab/

Top comments (0)