What is git and GitHub?
Overview
Updated February 23rd, 2020. Accessed October 2025
There are two types of version control systems that facilitate project sharing and collaboration: centralized and distributive. git is a distributive version control system, or DVCS. In a DVCS, a remote server stores the integrated copy of a project, and mirrors with the full-change history are distributed to individual contributors. Local changes are communicated in what is called “peer-to-peer” by synchronizing committed changes through patches that are sent over the server.


git was originally released in 2005 and is the most popular version control system offered, even compared with centralized systems. On its own it does not provide a framework for collaboration and lacks a graphical user interface, or GUI. Its bash script and regular expression commands are typically executed in command-line applications; a framework that proves to be a steep learning curve for new users.
GitHub was designed in 2007 to improve on git and act as a centralized library of repositories. They also developed additional collaboration tools, such as the Fork. Canonically, GitHub is a developer platform built upon git repository management structures and commands.
GitHub is first and foremost a host of free and open-sourced code, catering to over 100 million developers and hosting more than 420 million repositories as of 2024. Since 2015 it has out competed its primary rival, SourceForge, and became one of world’s largest hosts of source code since 2022/2023.
OK, but why use them?
git is by far the most used for both learners and professionals. A survey by StackOverflow in 2022 revealed that respondents overwhelmingly reported using git as compared with Mercurial or SVN. Over 95% of professionals self-reported that they use git in their work.
git is also predominately used by those learning to code, but they found that version control systems are generally underutilized by learners. About 17% say they do not use any kind of version control as compared with about 1% of professionals.

2022 report.
GitHub is a highly sought-after resource for maintainers and contributors around the world, a finding that holds true for developers working for companies and nonprofits. The pie chart shown here highlights 20 communities outside of the US with the largest growth of users in 2022 since the previous year. In 2013, most users were based in the US, but with the year-over-year growth of users from India observed thus far it is expected that Indian programmers will match the US developer population in 2025.