Skip to content
IT glossary
ProgrammingUpdated December 3, 2026

GitHub

An online platform for hosting Git repositories and working on code with other people. It gives teams a place to review proposed changes, track issues, and run automated checks.

What GitHub is

Think of GitHub as the shared home for a project, not the tool that records each edit. Git records changes as commits and lets you work on branches on your own machine. GitHub hosts a remote copy of the repository so teammates can see the work you publish, discuss it, and decide what to merge. A public repository can be viewed by anyone, but that does not give everyone permission to push to it. Private repositories restrict access.

From a local change to a team decision

Suppose the setup instructions in a project's README.md are missing a step. You start a branch called docs/setup from an up-to-date default branch, edit the file, and commit the fix locally. Pushing publishes the branch to GitHub; it does not change the default branch. To propose that change, open a pull request (PR) targeting the default branch, often main.

The PR shows which lines would change. A reviewer can comment on a specific line, request changes, or approve the proposal. If you push another commit to the same branch, the existing PR updates automatically. A team can configure GitHub to block direct pushes to main and require approvals or passing checks before a PR can be merged. GitHub Actions can run those checks, such as building the project or running its tests, when a PR is opened or updated.

Where teams and contributors use it

Teams use GitHub Issues to track bugs and planned work, pull requests to review changes, and Releases to publish version notes and downloadable files. In open source, a contributor without write access can often create a fork, a separate repository on GitHub, then submit a PR from a branch in that fork back to the original project. A fork is not the same as a clone: a clone is a local copy that you can work with on your machine.

Common mix-ups

  • Git is not GitHub. You can commit and create branches offline. You can also use Git with a different hosting service or without a remote at all.
  • GitLab is a separate platform. It also hosts Git repositories, but it calls its equivalent of a pull request a merge request.
  • A PR is not git pull. A PR is a proposal to merge changes. The git pull command fetches changes from a remote and integrates them into your current local branch.

What interviewers look for

If asked to walk through a change you shipped, explain what happened locally, what happened after the push, and how the team decided it was ready to merge. Use a concrete detail: which check had to pass or what you changed in response to review. If you share a portfolio repository, be ready to explain your contribution and show how someone can run the project from its README.