Skip to main content
Now — Git Command Reference with 28 commands

Master Git.
From Basics to Advanced.

A comprehensive Git command reference with clear explanations and real examples. Learn init, commit, branch, merge, rebase, and more — all in one place.

terminal — git log --oneline --graph
$ git log --oneline --graph --all
* 1a2b3c4feat: add user authentication flow
| * 5d6e7f8refactor: extract auth middleware
| * 9a0b1c2fix: handle token expiry gracefully
|/
* 3d4e5f6Merge branch feature/dark-mode
* 7g8h9i0Initial commit — Set up project
28 CommandsComprehensive reference
Real ExamplesCopy & run
8 CategoriesOrganized by topic
Beginner FriendlyClear explanations

How It Works

Learn Git the easy way.

No fluff. Just clear, practical explanations with real commands you can use today.

1

Pick a Command

Browse 28 commands across 8 categories — from git init to git rebase.

2

Read How It Works

Each command has a plain-English explanation of what it does internally.

3

See Examples

Real command examples with explanations. Copy and try them yourself.

4

Master Git

Build confidence from basic commits to advanced branching strategies.

Every command includes real examples

Each command page has copyable examples with sample output. Learn by reading, then run them in your own terminal.

Browse All Commands
$git commit -m "Initial commit"
$git branch feature-login
$git merge feature-login
$git log --oneline -5

Skill Levels

From beginner to advanced — we cover it all.

Whether you are writing your first commit or rebasing a complex branch history, our reference has you covered.

Getting Started

Commands: init, clone, config, help

Working with Changes

Commands: status, add, commit, diff

Branching & Merging

Commands: branch, merge, rebase, checkout

Inspecting History

Commands: log, show, blame, reflog, shortlog

Remote Repos

Commands: push, pull, fetch, remote

Stashing & Cleaning

Commands: stash, clean

Tagging & Releases

Commands: tag, describe

Undoing Changes

Commands: reset, revert, restore

Start your Git journey today

No account needed. No downloads. Just clear explanations and examples you can start using immediately.

Start learning Git today

No sign-up, no downloads. Just clear explanations and examples you can start using immediately.

28 commands8 categoriesExplore →

Pick a Category

Choose from 8 categories — Getting Started, Branching, Remotes, and more.

Read & Understand

Each command has a plain-English explanation with syntax and flags.

Try the Examples

Copy the example and run it in your terminal. See what each command does.

Support

Frequently Asked Questions

Common questions about Git commands, workflows, and best practices.

About the Reference

Git Basics

Commands & Usage

Branching & Merging

Working with Remotes

Troubleshooting

Still have questions about Git?

Contact our support team