Many beginners confuse Git and GitHub.
They are NOT the same.
| Git | GitHub |
|---|---|
| Version control tool | Cloud platform |
| Works locally | Works online |
| Tracks history | Enables collaboration |
- Git = engine
- GitHub = platform
Stored locally inside .git/:
- objects
- commits
- branches
- config
- index (staging)
- pull requests
- issues
- collaboration tools
- hosting
- CI/CD (Actions)
You can use Git without GitHub:
git init
git add
git commit
git log- sharing code
- team workflows
- code reviews
- remote backup
GitHub is not the only platform.
Others:
- GitLab
- Bitbucket
Git = tool GitHub = platform
- Git tracks history
- GitHub hosts and collaborates
- Git works without GitHub
👉 04-install-git.md