Free Explainer

What Is GitHub?

GitHub is a website that stores Git repositories online so people can track changes to code and work on it together. Git does the version control on your computer; GitHub hosts a shared copy and adds pull requests, issues and automation on top.

Try the push and pull diagram below, then step through the core vocabulary on a toy project. No account or install needed.

Interactive diagram

Git vs GitHub: your laptop and the cloud

Git keeps history on your computer. GitHub keeps a shared copy online. Click the buttons to see how commits, push and pull move work between them.

Your laptop (Git)

Local repository

  1. Initial commit
GitHub (remote)

github.com/you/recipe-site

  1. Initial commit

In sync

Your laptop and GitHub hold the same history. Make a commit to change your local copy.

Walkthrough

GitHub vocabulary on a toy project

Follow a small recipe website from first repo to its first outside contribution. Pick any term or step through in order.

Step 1 of 9 · Both

Repository

A repository (repo) is a project folder plus its full change history. On GitHub it also gets a web page, issues and settings.

How

Click New repository on GitHub, or run: git init

In our project

You create a repo called recipe-site to hold the HTML, CSS and images for a small recipe website.

Uses

What is GitHub used for?

Back up code

Every push stores a full copy of your project and its history off your laptop.

Work as a team

Branches and pull requests let several people change the same project and review each other's work.

Open source

Millions of public projects live on GitHub. Anyone can read the code, report issues or send fixes from a fork.

Automate with Actions

GitHub Actions runs tests, builds and deployments automatically when code changes.

Host a website

GitHub Pages publishes a static site, like a portfolio or docs, straight from a repository.

Show your work

A public profile with real projects acts as a living portfolio for recruiters and clients.

Compare

GitHub vs GitLab vs Bitbucket

All three host Git repositories. They differ mainly in community, built-in tooling and hosting options. Plans change, so confirm limits on each pricing page.

FeatureGitHubGitLabBitbucket
OwnerMicrosoft (since 2018)GitLab Inc.Atlassian
Best known forOpen source, the largest developer communityAll-in-one DevOps and self-hostingTeams already using Jira and Confluence
Free planUnlimited public and private reposFree tier for small teamsFree for small teams (user cap)
Built-in CI/CDGitHub ActionsGitLab CI/CDBitbucket Pipelines
Self-hosted optionGitHub Enterprise Server (paid)Yes, including a free self-managed editionData Center (paid)

Pricing

Is GitHub free?

Yes. The free plan covers unlimited public and private repositories, unlimited collaborators, issues, pull requests, GitHub Pages and a monthly allowance of Actions minutes. Paid plans add things like advanced code review rules, more Actions minutes, security features and enterprise controls. Students can get extra tools free through the GitHub Student Developer Pack.

Careers

What makes a good GitHub profile for job seekers?

  • Pin 3 to 6 repositories you are proud of, each with a clear README and screenshots.
  • Add a profile README that says who you are, what you build and how to reach you.
  • Commit regularly to real projects rather than gaming the contribution graph.
  • Use descriptive repo names, topics and a license so people can understand and reuse your work.
  • Contribute to an open-source project you use: even a docs fix shows you can collaborate.

Start with the free GitHub Profile README Generator.

Your GitHub shows the code. Code Card shows how you build it.

Code Card turns Claude Code, Codex, and OpenClaw sessions into a public developer profile with activity graphs, token breakdowns, badges, and a shareable card for your README. Start with npx code-card.

Make your Code Card

FAQ

GitHub questions, answered

What is GitHub in simple terms?

GitHub is a website that stores Git repositories online so people can track changes to code and work on it together. Think of it as cloud storage built for code, with tools for review, discussion and automation.

What is the difference between Git and GitHub?

Git is free version-control software that runs on your computer and records the history of your files. GitHub is an online service that hosts Git repositories and adds collaboration features like pull requests, issues and Actions. You can use Git without GitHub, but GitHub is built on Git.

What is GitHub used for?

Developers use GitHub to back up code, collaborate on projects with pull requests, contribute to open source, track bugs with issues, automate tests and deployments with GitHub Actions, host static sites with GitHub Pages, and show their work to employers.

Is GitHub free?

Yes. GitHub's free plan includes unlimited public and private repositories and a monthly allowance of GitHub Actions minutes. Paid plans add advanced team, security and enterprise features. Check github.com/pricing for current limits.

Is GitHub safe to use?

GitHub is widely used by companies and governments and supports two-factor authentication, which it requires for code contributors. The main risks come from users: never commit passwords or API keys, and remember that public repositories can be seen by anyone.

Do I need to know how to code to use GitHub?

No. Writers, designers and researchers use GitHub to version documents and data, and you can edit files and open pull requests entirely in the browser. Learning a few Git commands makes it much faster, though.