pcottle

    pcottle/learnGitBranching

    An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!

    analytics
    JavaScript
    MIT
    34.2K stars
    6.0K forks
    34.2K GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 345 contributors on GitHub.

    Use Cases & Benefits

    • Provides an interactive git visualization tool combined with tutorials and challenges to help users learn and master git commands.
    • Offers dynamic, real-time visualization of git commit trees that enhances understanding beyond command-line usage.
    • Use for beginners to practice and understand basic git operations through guided levels and sandbox experimentation.
    • Use for educators to demonstrate git concepts visually in classrooms or workshops with an interactive sandbox mode.
    • Use for intermediate developers to refine advanced git skills and optimize command usage via gamified challenges and git golf.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    • No GitHub releases; pin a commit or tag instead of a release.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    LearnGitBranching is a git repository visualizer, sandbox, and a series of educational tutorials and challenges. Its primary purpose is to help developers understand git through the power of visualization (something that's absent when working on the command line). This is achieved through a game with different levels to get acquainted with the different git commands.

    You can input a variety of commands into LearnGitBranching (LGB) -- as commands are processed, the nearby commit tree will dynamically update to reflect the effects of each command:

    This visualization combined with tutorials and "levels" can help both beginners and intermediate developers polish their version control skills. A quick demo is available here: https://pcottle.github.io/learnGitBranching/?demo

    Or, you can launch the application normally here: https://pcottle.github.io/learnGitBranching/

    By default the application launches in "sandbox mode" with a basic repository already created. Here you can enter commands and mess around with a repository as much as you like. Keep in mind you can

    Sandbox mode can be great for demonstrating something to a friend, but the real learning is with levels...

    Type levels to see the available lessons / challenges (and which ones you have solved so far). Each level series aims to teach some high-level git concept, and each tab of levels separates major worlds of info (like remote repositories versus local).

    For some added fun, there is a "git golf" concept where we keep track of how many commands you use to solve each level. See if you can match all of our records!

    Excerpt from the pcottle/learnGitBranching README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    6.0K+17

    Open issues

    56-4

    Compared with peers in Analytics

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    pcottle/learnGitBranching compared with Analytics repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    TwiN/gatus12.7K+2106412 days ago
    glanceapp/glance38.1K+131601 day ago
    algorithm-visualizer/algorithm-visualizer49.4K+3930—
    pcottle/learnGitBranching34.2K—40—
    plotly/dash24.5K—657 days ago
    sinaptik-ai/pandas-ai23.9K—40391 days ago
    Category median24.5K+13160—

    Discover Repositories

    Search across tracked repositories by name or description