Repaso
EspaƱol

What is the difference between Git and GitHub?

Options

  1. They are the same product with two different names
  2. Git is the version control tool; GitHub hosts repos (Correct option)
  3. GitHub is a text editor that is made for coding
  4. Git only works when it is used together with GitHub

Answer

Git is the version control tool on your computer; GitHub is a website that hosts Git repositories and adds pull requests, issues and CI

Why

Git is a distributed version control system: it records the history of your files so you can see changes, go back, and work on parallel versions (branches). It runs locally and needs no internet.

GitHub (also GitLab, Bitbucket, Azure DevOps) is a service that stores a shared copy of the repository and adds collaboration: pull requests, code review, issues and automated pipelines.

Remember

Git = tool. GitHub = hosting platform for Git repos.

Key terms

Practice this question in Repaso