Git vs GitHub
On this page
What is Git?
Git is a version control system that runs on your local machine and tracks file changes.
What is GitHub?
GitHub is a cloud platform that hosts Git repositories and adds collaboration features.
Key differences
- Git works offline
- GitHub requires internet
- Git manages history
- GitHub manages collaboration
Can you use Git without GitHub?
Yes. Git works completely locally.
Can you use GitHub without Git?
No. GitHub is built around Git repositories.
Analogy
- Git is like Microsoft Word on your computer
- GitHub is like Google Drive where you share files