Printable Git Cheat Sheet
Free printable Git cheat sheet at exact scale — the everyday Git commands grouped by task: setup, staging and commits, branches, merge and rebase, remotes, undo and recover, stash, tags and more, on one page.
This Git cheat sheet gathers the commands you actually use day to day and groups them by what you’re trying to do — setting up your identity and aliases, starting or cloning a repo, staging and committing (including git add -p and git commit --amend), working with branches, merging and rebasing, syncing with a remote (fetch, pull, push, safe force-push), inspecting history, and undoing or recovering work with reset, revert and the reflog.
It also covers stashing, tags and releases, cleaning untracked files and .gitignore, plus a few handy tips like HEAD notation and skipping hooks. It’s an ideal desk reference whether you’re learning Git or just want the flags at a glance, and it prints at exact scale in real millimetres on A4, Letter or any size.
Printing at exact scale
Every sheet is drawn in real millimetres and prints at exact physical scale. For accurate output, set Scale = 100% (Actual size) and Margins = None in your browser's print dialog. Not sure your printer is honest? Run the printer ruler test first to confirm 50 mm really measures 50 mm.
Frequently asked questions
Which Git commands are covered?
Config and aliases, init/clone, status/add/commit, branches, merge and rebase, fetch/pull/push, log/diff/show/blame, reset/revert/reflog, stash, tags, clean and .gitignore, plus common tips.
What’s the difference between reset, revert and checkout?
reset moves the branch pointer (soft keeps changes staged, mixed keeps them unstaged, hard discards them); revert makes a new commit that undoes an old one; restore/checkout discards changes in your working files. The sheet lists each with a one-line reminder.
Does it show how to undo the last commit?
Yes — git reset --soft/--mixed/--hard HEAD~1 for local undo, git commit --amend to fix the last commit, and git revert for a safe undo that keeps history.
Is it really free?
Yes. Every template on printsheet.io is completely free, with no sign-up, no account and no watermark. Generate as many sheets as you like.
How do I get an exact-scale print?
Choose your paper size, then in the print dialog set Scale to 100% or “Actual size” and Margins to None. The sheet is defined in real millimetres, so it prints at true size. Use the calibration ruler page to verify.
Which paper sizes are supported?
A4, A5, A3, A6, US Letter, Legal and Tabloid, in portrait or landscape. Pick the size that matches the paper loaded in your printer.
Can I save it as a PDF instead of printing?
Yes — choose “Save as PDF” as the printer in your browser's print dialog. The PDF keeps the exact millimetre dimensions.