DevOps / Gitlab Interview questions
What is the difference between Git and GitLab?
Git and GitLab solve different problems, even though people use the names interchangeably. Git is the underlying version control tool that tracks file history and branches. GitLab is a hosted platform that stores Git repositories and adds a web interface, permissions, CI/CD, and project management around them.
In practice, you install Git on your laptop and use it from the command line to commit and branch. GitLab lives on a server (or GitLab.com) and is where those repositories are pushed to, reviewed, and built.
| Git | GitLab |
| A command-line version control tool. | A web-based platform built on top of Git. |
| Runs locally on the developer's machine. | Runs on a server or GitLab.com (SaaS). |
| Has no UI, users, or permissions of its own. | Provides user accounts, roles, and merge requests. |
| No built-in CI/CD. | Includes built-in CI/CD pipelines. |
So the short version: Git is the engine, GitLab is one of several possible dashboards and hosting layers built around that engine.
More Related questions...