DEV Community

Cover image for Git and Gitlab
Harini
Harini

Posted on

Git and Gitlab

What is Git?
Git is a distributed version control system(DVCS).It is a tool that developers used to track chainges in their file and allows multiple people to work on the same project without overwriting each others work.
Git was created by Linus Torvalds in 2005 for developing the linux kernel.It will record the commits of your projects so that you can go back to earlier version if needed,and you can also see who made what changes and when did the changes happened.

Distributed Version Control System(DVCS):
It is a type of version control system where each and every developers holds a copy of entire project repository and it's history.

Example:
Lets imagine a construction project blueprint.

  • Architect gives every engineer a full copy of the blueprint and ask them to make changes on their own and submit it to him.Finally the team lead compares every copy ,merge them and chooses the final version.

What is Gitlab?
Gitlab is a web-based Devops platform that helps the developers to store their Git repositories,collaborate and automate the entire software development lifecycle.
Simply,Gitlab is a platform where teams can push their source code,review and merge the changes,track bugs and tasks,run automated builds and test and finally deploy applications.

Difference between Git and Gitlab

- Git is a distributed version control system used to track changes in code and manage different versions of a project on a developer's local machine.It helps developer's commit,branch, and merge their code efficiently.

- On the other hand,Gitlab is a web-based platform that provides repository hosting along with features like CI/CD pipelines,issue tracking,merge requests,code reviews and project management tools.
Enter fullscreen mode Exit fullscreen mode

While Git is only the version control tool,Gitlab is a complete devops platform that helps teams collaborate ,automate builds,and deploy applications.

Top comments (0)