What is the difference between Git and GitHub/GitLab?
⚡
Quick Answer
Git is the version-control tool that runs locally; GitHub and GitLab are hosting platforms built around Git that add collaboration features — remote repositories, pull/merge requests, code review, issues, and CI/CD.
Detailed Answer
You can use Git with no platform at all. GitHub/GitLab/Bitbucket add the social and workflow layer on top: a central place to host remotes, review changes, run pipelines, manage permissions, and track work. Confusing the two is a common beginner tell.
💡
Interview Tip
One sentence: Git is the tool, GitHub/GitLab are hosting-plus-collaboration platforms built on it.
gitgithubgitlab