Git
Git is a version-control tool that records changes to files and helps people combine work over time.
Example
You commitA commit records a project state in Git, plus history information such as the parent commit, the author, and a message. a fix on your laptop with Git. The commit exists before you push it to a website, and before anyone opens a pull requestA pull request asks people to review proposed code changes and combine them into a target branch..
Why it matters
Git tracks commits in a repositoryA repository is a project's stored files and their recorded change history, commonly managed with Git. on your machine and, when you choose, on a server. GitHub, GitLab, and similar sites host Git repositories and add review pages. They are not Git itself.
Common confusion
Git is the tool. GitHub is one website that hosts Git repositories. They are not the same thing.
Sources
Updated September 30, 2026.
