GitHub makes money primarily by selling paid subscriptions to organizations and individuals, led by GitHub Enterprise and GitHub Team plans, along with add-ons such as GitHub Advanced Security, GitHub Copilot, and metered services like Actions and Packages. The core code-hosting service for public repositories and individual free accounts is free, and that free tier functions as the top of a funnel that feeds the paid products.
Background: From Free Hosting to a Microsoft Subsidiary
GitHub launched in 2008 as a hosting platform built around Git, the distributed version control system created by Linus Torvalds. Its early growth came from public open-source repositories, which were free and quickly became the default home for open-source projects. Private repositories were originally a paid feature, but GitHub later made unlimited private repositories free for individual accounts, removing a major barrier to adoption.
In 2018, Microsoft acquired GitHub. GitHub continues to operate as a separate brand and product line, and its financial results are reported within Microsoft's broader segments rather than broken out in detail. That means public revenue figures for GitHub specifically are not disclosed, and any precise number circulating online should be treated with caution. What is publicly known is the structure of its paid offerings.
The Core Business Model: Paid Plans and Seats
GitHub's main revenue engine is per-seat subscription pricing. Organizations pay for each user who needs access to private collaboration features, and the price per seat rises with the plan tier. The plans generally fall into these categories:
- GitHub Free — unlimited public and private repositories for individuals, with limited features for organizations.
- GitHub Pro — a low-cost individual upgrade with extra features such as advanced code review tools.
- GitHub Team — an organization plan priced per user per month, adding team management and collaboration controls.
- GitHub Enterprise — the highest tier, priced per user per month, adding enterprise-grade security, compliance, and deployment options including self-hosted GitHub Enterprise Server.
Because billing is per seat, revenue scales with the size of the customer organization. A large engineering department with thousands of developers generates far more subscription revenue than a small startup, and enterprise customers often pay for annual contracts. This seat-based model is the backbone of GitHub's income.
Add-On Products: Security, AI, and Automation
Beyond base subscriptions, GitHub sells add-ons that attach to paid plans and generate additional revenue:
- GitHub Advanced Security — a per-active-committer add-on for enterprise customers that bundles code scanning, secret scanning, and dependency review. It is priced separately from the base Enterprise seat.
- GitHub Copilot — an AI coding assistant sold as an individual subscription and as a per-user business plan for organizations, with an enterprise tier. It is one of GitHub's most visible paid products and is billed monthly or annually per user.
- GitHub Actions — CI/CD automation that is free within usage limits for standard runners and metered beyond those limits, with larger runners billed by compute time.
- GitHub Packages — package hosting with free storage and transfer allowances, then metered charges for additional usage.
- GitHub Codespaces — cloud development environments billed by compute and storage usage, with a free monthly allowance for personal accounts.
These metered and add-on products let GitHub earn more from heavy users without raising the base seat price, and they create upsell paths from Team to Enterprise and from base plans to security and AI bundles.
How the Free Tier Supports Paid Revenue
The free tier is not a loss leader in the traditional sense; it is the distribution engine. Public repositories attract open-source projects, students, and hobbyists, who learn the platform and later bring it into workplaces. GitHub also offers free or discounted plans for verified students and for qualifying open-source maintainers, which builds long-term familiarity. When those users join companies that standardize on GitHub, the organization converts to paid seats. The large public codebase also improves GitHub's search, discovery, and AI training data ecosystem, indirectly supporting paid products.
A common misconception is that GitHub charges for private repositories. For individual accounts, private repositories are free with limits on features such as protected branches and code owners. Organizations that need those controls are the ones who pay, which is why the paid tiers are framed around collaboration and governance rather than storage alone.
Costs and What the Money Pays For
GitHub's revenue covers substantial infrastructure: hosting millions of repositories, running CI/CD compute, storing packages and container images, and operating the security scanning pipeline. It also funds engineering, support, and compliance work such as SOC 2 and ISO certifications that enterprise buyers require. Because GitHub does not publish a profit-and-loss statement, the split between revenue and cost is not public, but the pattern is typical of developer-platform businesses: free users cost relatively little per head, while enterprise customers pay for reliability, auditability, and support.
Comparisons with Other Developer Platforms
GitHub's model resembles other developer-tool businesses that combine a free tier with per-seat and usage-based pricing. Competitors such as GitLab sell tiered subscriptions with bundled CI/CD and security, and Atlassian's Bitbucket integrates with its broader suite. GitHub's distinguishing position is its network effect from open-source hosting and its integration with Microsoft's cloud and enterprise sales channels. The practical result for buyers is that GitHub pricing tends to be seat-centric with optional usage meters, while some competitors bundle more into a single per-user price.
Frequently Asked Questions
Is GitHub free to use?
Yes, for individuals GitHub offers free accounts with unlimited public and private repositories. Paid plans add features aimed at teams and organizations, such as advanced permissions, audit logs, and enterprise controls.
Does GitHub charge for private repositories?
Not for individual accounts, where private repositories are included in the free plan. Organizations that need advanced controls on private repositories pay through Team or Enterprise plans.
How is GitHub Copilot billed?
Copilot is sold as a per-user subscription, with individual and business tiers, and an enterprise option. It is billed monthly or annually per seat, separate from the base GitHub plan.
Is GitHub profitable?
GitHub does not disclose standalone financial results, so its profitability is not publicly known. Its revenue comes from subscriptions and usage-based add-ons, and it operates within Microsoft's reporting segments.
What happens if I exceed free usage limits?
For metered products like Actions, Packages, and Codespaces, usage beyond the included free allowance is billed according to the published rates, and spending limits can be configured to prevent unexpected charges.
Do open-source projects pay GitHub?
Public open-source projects can use GitHub free of charge, and GitHub provides additional free features to qualifying maintainers. Revenue comes from organizations and individuals who buy paid plans and add-ons.