GH-900 · Question #94
What is the difference between Git and GitHub?
The correct answer is A. Git is a command-line tool for tracking file changes, while GitHub is a platform for collaborating on. Git is a free, open-source distributed version control system installed locally on your machine. It tracks changes to files over time, manages history, and enables branching and merging - all from the command line. GitHub is a cloud-based platform (owned by Microsoft) that…
Question
What is the difference between Git and GitHub?
Options
- AGit is a command-line tool for tracking file changes, while GitHub is a platform for collaborating on
- BGit and GitHub are different names for the same tool that is used for version control and
- CGit is a cloud-based hosting service, while GitHub is a distributed version control system.
- DGit is a centralized version control system, while GitHub is a cloud-based collaboration platform
How the community answered
(47 responses)- A89% (42)
- B4% (2)
- C6% (3)
Explanation
Git is a free, open-source distributed version control system installed locally on your machine. It tracks changes to files over time, manages history, and enables branching and merging - all from the command line. GitHub is a cloud-based platform (owned by Microsoft) that hosts Git repositories and adds collaboration features: pull requests, issues, Actions (CI/CD), Projects, and more. Option B is false - they are distinct tools. Option C reverses the definitions. Option D incorrectly calls Git 'centralized' - Git is explicitly a distributed VCS, meaning every developer has a full copy of the repository history locally.
Topics
Community Discussion
No community discussion yet for this question.