What is GitHub used for? GitHub explained in simple terms, plus Git vs GitHub
More than 225 million developers keep their code on GitHub. What it does, how a pull request works, what is free, what Copilot adds, and how to start.

GitHub is a Microsoft-owned website where developers store, share and work together on code. It keeps every version of a project online, lets teams review changes through pull requests and runs tests automatically with Actions. More than 225 million developers use it, including 32 million in India, and the basic plan is free.
GitHub is a website where people store, share and work together on code. What is GitHub used for, in simple terms? It keeps every version of a project online, lets a team propose and review changes before they go in, and runs tests automatically. More than 225 million developers use it, and the basic plan is free.
GitHub launched in April 2008 and has been owned by Microsoft since 2018, when Microsoft bought it for $7.5 billion in stock. A large share of open-source software, from small scripts to big frameworks, lives there, and so does a lot of private company code. In GitHub's own docs, the short version is: Git tracks changes to files, and GitHub hosts those Git projects in the cloud.
Image: GitHub (github.com homepage demo). Red lines were removed, green lines were added.
What is GitHub used for?
Five jobs cover almost everything people do on GitHub:
- Storing code with its full history. Each project is a repository ("repo"): the files plus every saved version, so you can see who changed what and go back.
- Working as a team. Several people change the same project at once on separate branches, then combine their work.
- Reviewing changes. A pull request shows exactly which lines a change adds and removes, and teammates comment before it is accepted.
- Automating the boring parts. GitHub Actions runs tests, builds apps and deploys websites every time code is pushed.
- Sharing in public. Open-source projects publish their code, take bug reports through Issues and accept fixes from strangers. Many developers also use their GitHub profile as a portfolio.
How does GitHub work?
Think of a shared Google Doc with version history and "suggesting" mode, but for code. Everyone works on their own copy, every save is recorded, and nothing joins the main version until someone approves it.
The real steps look like this:
- Commit. On your own computer, Git saves a snapshot of your files with a short note ("fix login button"). Each snapshot is a commit.
- Push. You send those commits to the repository on GitHub, so the online copy now has your work.
- Pull request. You ask for your branch to be merged. GitHub shows the diff, teammates review it, and Actions runs the tests.
- Merge. Once it is approved and the checks pass, the change joins the main branch, and everyone else downloads it with
git pull.
Image: NextDiff graphic, based on GitHub Docs.
GitHub's own explainer video shows the same flow:
Git vs GitHub: what's the difference?
Git and GitHub are not the same thing. Git is free, open-source software that runs on your computer and keeps the history of your files. The Linux kernel community built it in 2005, led by Linux creator Linus Torvalds, according to the Pro Git book. GitHub is a company and a website that hosts Git repositories and adds collaboration on top: pull requests, issues, Actions, Copilot and a social profile.
You can use Git without GitHub (on your own machine, or with a rival host). You can't really use GitHub without Git, because every repository on it is a Git repository.
| Git | GitHub | GitHub Actions | GitHub Copilot | |
|---|---|---|---|---|
| What it is | Version-control software | Website that hosts Git projects | Automation (CI/CD) | AI coding assistant |
| Where it runs | Your computer | The cloud (github.com) | GitHub's servers | Your editor, GitHub, the Copilot app |
| Made by | Linux community, 2005 | GitHub, 2008 (Microsoft since 2018) | GitHub | GitHub |
| Cost | Free | Free plan; Team $4, Enterprise $21 per user a month | Free plan includes about 2,000 minutes a month | Free plan; Pro $10, Pro+ $39, Max $100 a month |
Rivals do the same hosting job: GitLab pitches itself as a DevSecOps platform, and Atlassian's Bitbucket ties in with Jira. Git works with all of them.
Is GitHub free?
Yes, for most people. According to GitHub's pricing page, the Free plan includes unlimited public and private repositories, 2,000 Actions minutes a month and 500 MB of package storage. Team costs $4 per user a month and Enterprise $21 per user a month; companies pay for extra controls, support and security features, not for the basic storing and sharing.
Actions is free on GitHub's standard runners for public repositories. Private projects get a monthly allowance (worth $12 on the Free plan, about 2,000 Linux minutes) and pay after that, per GitHub Docs.
What is GitHub Copilot?
Copilot is GitHub's AI assistant. It suggests code as you type, answers questions about a project and, in agent mode, can take a task like "fix this failing test", make the changes and open a pull request. At GitHub Universe on 28 October 2026 the company added a Copilot app and Copilot Fusion, which picks a model for each task, and it now bills Copilot in "AI credits", GitHub said.
Image: GitHub (github.com homepage demo).
The Copilot plans: Free gives 2,000 code completions a month plus limited chat and agent use; Pro is $10 a month, Pro+ $39 and Max $100, each including a bigger credit allowance; Business and Enterprise prices are by quote. AI now writes a big share of the work: agents started more than 40% of pull requests on GitHub by September 2026, up from 17% in March, according to GitHub's Octoverse 2026 report.
Examples: GitHub in numbers
Octoverse 2026 covers October 2025 to September 2026:
- 225 million+ developers on GitHub, up from 28 million when Microsoft agreed to buy it in 2018.
- The US has 38.3 million and India 32.0 million, the top two. Each added more than 10 million in the year, and GitHub projects India at 57.5 million by 2030, ahead of the US at 54.7 million.
- 34.3 billion commits, 17.9 billion pushes, 1.3 billion merged pull requests and 45.4 billion Actions jobs in twelve months.
- TypeScript is the most-used language, ahead of Python and JavaScript.
Image: Dave Fayram / Wikimedia Commons (CC BY 2.0). Chris Wanstrath co-founded GitHub with Tom Preston-Werner, P. J. Hyett and Scott Chacon.
Is GitHub safe?
GitHub itself is a mainstream, well-run service, but what you put on it is only as safe as your settings and your account:
- Public means public. Anyone can read a public repository. Never commit passwords or API keys; GitHub's secret scanning runs free on public repos and flags many of them.
- Two-factor authentication is required for everyone who contributes code. GitHub started enforcing it in March 2023.
- Accounts are a target. In November 2026 1Password said an attacker got in through one employee's GitHub account and took private source code; customer vaults were not affected.
- Downloading code is like downloading an app. Run only projects you trust, especially "free" game ports and cracked tools.
How to start using GitHub
- Sign up free at github.com and turn on two-factor authentication.
- Install Git (or GitHub Desktop if you prefer buttons to commands).
- Create a repository, add a README, and make your first commit.
- Push it, then open a pull request on a branch, even if you review it yourself.
- Try Copilot Free in your editor, and browse open-source projects to read how others work.
Why it matters
GitHub is where much of the world's open-source software is written, so it is also where new tools, AI agents and security problems show up first. For students and job-seekers, especially in India, a GitHub profile is often one of the first things a recruiter looks at. For companies, it is the place their code, tests and now their AI coding agents meet.
Common misconceptions
- "GitHub and Git are the same." Git is the tool; GitHub is one website that hosts it.
- "GitHub is only for programmers." Writers, designers and researchers use it for documents, datasets and websites (GitHub Pages).
- "Everything on GitHub is public." Private repositories are free and unlimited.
- "Microsoft made GitHub." It was founded independently in 2008 and bought by Microsoft in 2018.
- "Code on GitHub is free to copy." Each project's licence decides that; no licence means the author keeps the rights. Our open source explainer covers licences.
Latest news
- GTA 6 PC port taken down: Take-Two wipes 3,007 GitHub repos (26 Nov 2026): how a DMCA notice removes projects from GitHub.
- 1Password hacked through a GitHub account (26 Nov 2026): why a developer account is a security target.
- Claude vs ChatGPT: the AI models behind coding assistants like Copilot.
- Ghostty terminal engine hits 1.0: an open-source developer tool developed on GitHub.
- New to the jargon? Read what is vibe coding and what are AI agents.
Questions readers ask
- What is GitHub used for in simple terms?
- GitHub is used to store code online with its full history, work on it as a team, review changes through pull requests and run tests automatically. Open-source projects also use it to share code publicly and take bug reports.
- What is the difference between Git and GitHub?
- Git is free version-control software that runs on your computer and records every change to your files. GitHub is a website, owned by Microsoft, that hosts Git repositories and adds collaboration tools such as pull requests, issues, Actions and Copilot.
- Is GitHub free?
- Yes. The Free plan includes unlimited public and private repositories, 2,000 GitHub Actions minutes a month and 500 MB of package storage. Paid Team ($4) and Enterprise ($21) plans, per user a month, add controls and support for companies.
- What is GitHub Copilot?
- GitHub Copilot is GitHub's AI coding assistant. It suggests code, answers questions about a project and can make changes and open pull requests in agent mode. Copilot Free gives 2,000 completions a month; Pro costs $10 a month.
- Is GitHub safe to use?
- Yes, if you protect your account. GitHub requires two-factor authentication for code contributors and scans public repositories for leaked secrets for free. Never put passwords or keys in a public repository, and only run code from projects you trust.
+ Sources
- GitHub Docs — About GitHub and Git
- GitHub Blog — Octoverse 2026: commits and pushes reach new highs as developers build with agents
- GitHub — Pricing
- GitHub — Copilot plans
- GitHub Docs — GitHub Actions billing
- GitHub Blog — GitHub Universe 2026: evolving every layer of the stack
- Microsoft — Microsoft to acquire GitHub for $7.5 billion (2018)
- Pro Git — A Short History of Git
- GitHub Blog — Raising the bar for software security: 2FA begins March 13
- GitHub Docs — About secret scanning
- GeekWire — GitHub joins Microsoft CoreAI as CEO Thomas Dohmke departs (Aug 2025)
- 1Password — Update on the November 2026 security incident
- Wikipedia — GitHub
+ Rate this story
Get stories like this on your phone, the minute they drop.
The Weekly Diff launches soon.
Subscribe on YouTubeKeep reading





