GitAtlas
/

A field guide to version control

GitAtlas

Every Git and GitHub command worth knowing — written in plain English, with the situation you would actually reach for it in, and a copy button on all of them.

381commands 26sections 80worked examples
~/projects/myapp main

    Emergency Response & Hardening

    Git Security & Secret Shield

    Scan diffs for leaked API keys, purge credentials from Git history safely without corrupting repositories, generate pre-commit shields, and follow an incident recovery checklist.

    Test Sample Leaks:

    100% Privacy-Preserving: All regular expression evaluations happen entirely inside your browser JavaScript runtime. Nothing is transmitted over any network.

    Scan Results

    Paste a commit diff, code snippet, or .env file on the left to scan for leaked secrets.

    Visual Sandbox & DAG Simulator

    Interactive Git Graph & Branch Visualizer

    Watch how branches, commit hashes, HEAD pointers, and merge commits move before you run commands in your terminal. Choose a guided scenario or test freely in sandbox mode.

    git merge (3-Way Merge)

    Joining divergent branches by creating a merge commit with two parents.

    Sandbox Actions:

    Terminal & Command Line Companion

    GitAtlas in Your Terminal

    Search 381+ commands, diagnose errors, and scan for secrets directly from your command line with zero installation required.

    Zero Install

    Run Instantly with NPX

    Execute queries on the fly without installing anything globally:

    npx gitatlas <search query>
    Native Git

    Native Git Alias (git atlas)

    Add a 1-line alias so you can type git atlas <query> natively in Git:

    git config --global alias.atlas "!npx gitatlas"
    Shell Function

    Bash / Zsh / PowerShell Shortcut

    Drop this snippet into your ~/.zshrc, ~/.bashrc, or $PROFILE:

    gitatlas() { npx -y gitatlas "$@"; }
    terminal ~ (gitatlas-companion)
    $ npx gitatlas undo commit

    ◆ GitAtlas CLI — The Field Guide to Git

    ➔ git reset --soft HEAD~1 Removes the last commit but leaves all its changes staged. Risk: Safe (Local only)
    ➔ git revert HEAD Creates a brand-new commit that undoes the changes of a previous one. Risk: Safe (Preserves history)
    $ git atlas --fix "rejected"
    🚨 Error: Updates were rejected because the remote contains work Safe Fix: Pull first with rebase, then push — never force push on shared branches. $ git pull --rebase origin main && git push

    Interactive Studio

    Build, simulate & compose.

    Visually configure complex multi-flag commands, simulate safe recovery paths, generate tailored .gitignore rules, and draft conventional commits with instant one-tap copy.

    Generated Command
    git log --graph --oneline --decorate --all -n 10

    Flag Breakdown

      Guided recovery

      Not sure what to run next?

      Answer two questions and GitAtlas hands you an ordered playbook — with the read-only check to run before every risky step, and what each one cannot be undone from.

      Or open a playbook directly

      Troubleshoot safely

      Paste the Git error you hit.

      GitAtlas matches common errors locally, then gives you a plain-English cause, safe checks, and the next command to run. Nothing you paste leaves this page.

      Try: