Question
What is the difference between Git and GitHub?
- A. Git is a command-line tool for tracking file changes, while GitHub is a platform for collaborating on Git repositories. Correct
- B. Git and GitHub are different names for the same tool that is used for version control and collaboration.
- C. Git is a cloud-based hosting service, while GitHub is a distributed version control system.
- D. Git is a centralized version control system, while GitHub is a cloud-based collaboration platform.
Explanation
Git is a distributed version control system, used mainly from the command line, that tracks changes to files. GitHub is a cloud platform that hosts Git repositories and adds collaboration features such as pull requests, issues and Actions. They are not the same tool, option C reverses the roles, and Git is distributed rather than centralized.