18. What's the difference between Git and GitHub?

Git is a version control system (VCS) that enables you to track changes in files and coordinate work on those files among multiple people. Git operates locally on your computer, allowing you to create snapshots (commits) of your code, which you can restore, compare, and merge. Git is a command-line tool that offers extensive capabilities for managing project history, branching, and merging changes.

GitHub is a cloud-hosted platform that uses Git as its version control system but offers additional features for project management and social collaboration. GitHub allows development teams to collaborate on code remotely, providing cloud-hosted repositories, pull request management, issue tracking, CI/CD integrations, and more.

Key differences:

  1. Git: A command-line version control tool that operates locally on your computer.
  2. GitHub: A cloud-hosted platform that leverages Git as its version control system but offers additional features for collaboration, project management, and integrations.

In summary, Git is a technical tool for version control, while GitHub is a collaboration platform with extra project management and social features.

Related questions
devFlipCards 2024

Do you accept cookies?

Cookies are small amounts of data saved locally on you device, which helps our website - it saves your settings like theme or language. It helps in adjusting ads and in traffic analysis. By using this site, you consent cookies usage.