GitHub is a web platform for hosting and collaborating on code, built on the Git version control system.
GitHub is a web platform for hosting, sharing, and collaborating on code, built on top of Git, the version control system that tracks every change made to a project's files. If Git is the engine that records the history of a codebase on a developer's own machine, GitHub is the central online home where that history lives, where teams work together, and where much of the world's open-source software is developed in public. It has become the default place developers store their work and the largest host of source code on the internet.
The platform works by giving each project a repository, or "repo," which holds all of its files along with the complete record of how they have changed over time. Developers clone a copy of the repository, make changes on their own machines, and then push those changes back. GitHub adds a collaboration layer on top of Git's raw mechanics: pull requests let one person propose changes and invite others to review and discuss them before they are merged in, issues track bugs and feature requests, and branch protections prevent unreviewed code from reaching the main version. It also hosts documentation, runs automated tests and deployments through its built-in workflow tools, and can publish simple websites directly from a repository.
The name joins "Git," the underlying version control system created by Linus Torvalds, with "hub," suggesting a central gathering point where developers and their projects meet. GitHub was founded in 2008 and grew rapidly as open-source collaboration moved online, becoming the social and professional center of software development. In 2018 it was acquired by Microsoft, which has continued to expand it with features for automation, security scanning, and, more recently, artificial-intelligence coding assistance.
For a business, GitHub matters even if leadership never looks at code directly. It is where a company's software assets are stored safely, with a full history that makes it possible to undo mistakes, understand who changed what, and recover from errors. Its review and approval workflows enforce quality and reduce the risk of broken releases, while its automation tools can test and deploy a website every time a change is approved, speeding up how quickly improvements reach customers. For marketing sites in particular, this means updates can be shipped reliably and rolled back cleanly if something goes wrong. A well-run repository is also a form of institutional memory that protects the business if a key developer leaves.
A common mistake is confusing GitHub with Git itself. Git is the free, underlying technology anyone can use, while GitHub is one of several hosting platforms built around it, alongside competitors that offer similar services. Another pitfall is accidentally publishing sensitive information, such as passwords or private keys, in a public repository, a frequent and costly security lapse. Treating GitHub purely as storage, without using its review and automation features, also wastes much of its value. It is often mentioned alongside hosting platforms that deploy sites directly from a repository, the application programming interfaces that connect services, and the frontend frameworks whose source code lives there. Used well, it is central to shipping software safely.
GitHub keeps a website's code versioned, reviewed, and recoverable, which reduces the risk of breaking changes and makes deployments repeatable.