Terminal GuideTerminal Guide

Git

From your first commit to advanced workflows, learn everything about Git version control. Our guides cover commands, concepts, and real-world scenarios.

Guides

Explore All Git Commands

Browse 25+ command guides covering branching, merging, rebasing, and advanced workflows.

Git Cheatsheet

Quick reference for essential Git commands, organized by workflow.

Git Tools

Enhance your workflow with lazygit, tig, GitHub CLI, and other Git TUI tools.

Basic Commands

initcreate a new repository
cloneclone a repository
addstage changes
commitsave staged changes
pushupload to remote
pullfetch and merge changes

Workflow Commands

branchlist, create, or delete branches
checkoutswitch branches or restore files
mergejoin two or more development histories
rebasereapply commits on top of another base
stashstash changes in a dirty working directory
logshow commit logs