Git vs GitHub

Understand the difference between Git and GitHub and how they work together in modern development.

Git

GitHub is an online platform built on top of Git.

It allows you to:

  • Track changes in your code

  • Create commits and branches

  • Move between versions safely

circle-check

GitHub

Git is a version control tool that runs on your computer.

It allows teams to:

  • Store repositories online

  • Collaborate with others

  • Review code using pull requests

circle-exclamation

Key differences

Git
GitHub

Tool

Platform

Runs locally

Runs online

Manages code history

Manages collaboration

Works offline

Requires internet

Diagram Explain what the deference between Git and GitHub - ITC
Git manages versions locally, GitHub enables collaboration online.
chevron-rightHow they work togetherhashtag
  • You use Git to manage code locally

  • You use GitHub to share and collaborate

Last updated

Was this helpful?