freeCodeCamp/guide/english/git/difference-git-github/index.md

1.8 KiB
Raw Blame History

title
Difference between Git and GitHub

Difference between Git and GitHub

Git and Github are two different things. Git is the version control system, while GitHub is a service for hosting Git repos and help people collaborate on writing software. However, they are often confounded because of their similar name, because of the fact that GitHub builds on top of Git, and because many websites and articles don't make the difference between them clear enough.

Git is not GitHub

Git

Git is the distributed version control system. Git is responsible for keeping track of changes to content usually source code files.

For more info, there is a complete article about Git itself.

GitHub

GitHub is a company that provides Git repository hosting. That means that they provide a turnkey solution to host Git repositories on their servers. That can be useful to keep a backup of your repository (Git only tracks the changes made to you files over time, the repo still needs to be backed up), and to have a centralized place to keep and share your code with others.

More than just a Git repository hosting service, GitHub is a software forge. That means it also provides an issue tracker, tools for code review, and other tools for collaborating with other people and creating software.

GitHub isn't the only one to provide this kind of service. One of its major competitors is GitLab. For more on this, look at the article about Git hosting.