jellykit logojellykit

Git Command Reference

Search everyday Git commands for branching, rebasing, stashing, and undoing mistakes with live placeholders.

Loading Git Command Reference in your browser — 100% client-side with zero uploads.

Related developer tools

All Developer tools

Base64 Encoder & Decoder

Encode or decode UTF-8 text and convert local files into Base64 data URLs.

Developer

URL Encoder & Decoder

Percent-encode or decode URLs and inspect or edit query string parameters.

Developer

UUID Generator

Generate cryptographically random UUID v4 or time-ordered UUID v7 identifiers.

Developer

Regex Tester

Test regular expressions with live match highlights, capture groups, and replacements.

Developer

JWT Decoder

Decode JSON Web Token headers, payloads, and expiration timestamps safely in your browser.

Developer

Timestamp Converter

Convert Unix epoch seconds or milliseconds to UTC, local time, ISO 8601, and relative dates.

Developer

About Git Command Reference

Search practical Git commands for branching, rebasing, interactive staging, stashing, remotes, and recovering commits—complete with live branch, remote, and file path placeholders you can customize before copying.

How to use Git Command Reference

  1. 1

    Customize the Branch, Remote, and File Path inputs to match your current repository.

  2. 2

    Search by Git task (such as undo commit, force-with-lease, or reflog) or filter by category.

  3. 3

    Click Copy on any command card to copy the ready-to-run Git command.

Frequently asked questions

Why does this reference recommend git switch and git restore over git checkout?

Git introduced switch (for branches) and restore (for files) to separate two very different operations that git checkout historically overloaded.

Why is --force-with-lease safer than --force when pushing a rebased branch?

--force-with-lease aborts the push if someone else updated the remote branch since your last fetch, preventing you from silently overwriting teammates’ commits.

Does Git Command Reference work offline?

Yes. All commands and filtering logic run entirely in your browser.