Skip to main content

Git and GitHub Roadmap 2026

Version control for everyone: commits, branches, merging, pull requests, reviews and GitHub workflows.

4 stages · 7 units · Beginner · about 30 hours · Last reviewed 19 November 2026

What is a git and github?

Git is a distributed version control system that records every change to a project as commits, letting you branch, merge and undo safely. GitHub is a hosting service built on Git that adds pull requests, code review, issues and automation. Together they are the standard way software teams and open source projects collaborate.

Step-by-step git and github roadmap

  1. 1

    Git Basics

    Save and inspect history.

    • Local Git

      Local Git is working with a repository on your own machine. You turn a folder into a repository with git init, stage changes with git add, record them as commits with git commit, and read the history with git log and git diff. Each commit is a snapshot with a unique hash.

    • Undoing

      Undoing in Git means recovering from mistakes without losing work. Commands such as git restore, git reset, git revert and git commit --amend reverse or correct changes at different levels. Git stash shelves unfinished work temporarily, and tags mark important commits such as releases.

  2. 2

    Branching

    Work in parallel.

    • Branches

      Branches are lightweight, movable pointers to commits that let you work on a feature or fix in isolation. You create one with git switch -c, combine work with git merge, or replay commits onto a new base with git rebase. Branching is the core of parallel work in Git.

    • Conflicts

      A merge conflict occurs when Git cannot combine changes automatically because two branches edited the same lines or one deleted what the other changed. Git marks the file with conflict markers, and you edit them to the intended result. Branching strategies reduce how often conflicts arise.

  3. 3

    GitHub Collaboration

    Work with a team.

    • Remotes

      Remotes are copies of a repository hosted elsewhere, usually on GitHub, that you synchronise with using git push, git fetch and git pull. Pull requests are the GitHub mechanism for proposing changes from a branch or fork, discussing them, and merging after review.

    • Project Hygiene

      Project hygiene is the set of GitHub practices that keep a repository healthy. Issues and Projects track work and bugs, while repository settings such as branch protection, required reviews, CODEOWNERS and a .gitignore file enforce quality and prevent accidents like committing secrets.

  4. 4

    Automation

    CI on GitHub.

    • Actions

      GitHub Actions is GitHub's built-in automation platform. A workflow file in .github/workflows runs jobs on events such as a push or pull request, executing steps on hosted runners to test, build or deploy. Releases and packages publish tagged versions and artifacts from the same repository.

Frequently asked questions

Ready to practise for interviews?

Practise git and github questions with an AI mock interviewer and get feedback on your answers.

More roadmaps