Skip to content

Latest commit

 

History

History
120 lines (73 loc) · 2.99 KB

File metadata and controls

120 lines (73 loc) · 2.99 KB

🌍 Git vs GitHub


🎯 Why This Matters

Many beginners confuse Git and GitHub.

They are NOT the same.


✅ Difference

Git GitHub
Version control tool Cloud platform
Works locally Works online
Tracks history Enables collaboration

📸 Visual

Image

Image

Image

Image

Image

Image

Image


🧠 Simple Analogy

  • Git = engine
  • GitHub = platform

🏗 Internal Architecture Difference

Git Internals

Stored locally inside .git/:

  • objects
  • commits
  • branches
  • config
  • index (staging)

GitHub Adds

  • pull requests
  • issues
  • collaboration tools
  • hosting
  • CI/CD (Actions)

🧩 What Git Can Do Alone

You can use Git without GitHub:

git init
git add
git commit
git log

🧩 What GitHub Adds

  • sharing code
  • team workflows
  • code reviews
  • remote backup

⚠️ Important

GitHub is not the only platform.

Others:

  • GitLab
  • Bitbucket

🧠 Memory Trick

Git = tool GitHub = platform


✅ Quick Recap

  • Git tracks history
  • GitHub hosts and collaborates
  • Git works without GitHub

➡️ Next Step

👉 04-install-git.md