Git Command Reference & Cheatsheet
90+ Git commands with syntax, examples, and key flags. Search by command, or describe your goal — try “undo last commit” or “delete remote branch”. Everything runs in your browser.
About this tool
A hand-curated reference of the Git commands developers actually reach for, grouped by task: basics, branching, remotes, stashing, rebasing, history, undo, and configuration. Each entry shows the syntax, a plain-English description, a realistic example, and the flags worth knowing. The “I want to…” search maps common goals (rename a branch, unstage a file, recover a lost commit) straight to the right commands, so you don't need to remember which of reset, revert, and restore does what.
The whole reference is hardcoded into this page and searched with plain JavaScript in your browser. Nothing you type is sent anywhere — there is no server, no upload, and no tracking of tool inputs.