Skip to main content
Git is a distributed version control system that helps you track changes in your code, collaborate with others, and manage your project’s history effectively.

Getting Started

Configuration

Set up your Git identity and configure your environment

Understanding Git

Learn about Git’s three main areas and core commands

Branches

Work with branches, merge changes, and understand Git’s branching model

Advanced Techniques

Stashing

Temporarily save changes without committing them

Discarding Changes

Learn how to safely remove or revert changes

Rebasing

Integrate changes and edit commit history

Reflogs

Recover from accidents using Git’s reference logs

Collaboration

Remote Repository

Work with remote repositories and collaborate with others

Worktrees

Manage multiple working directories for the same repository

Productivity

Aliases

Create custom shortcuts for frequently used Git commands

Build docs developers (and LLMs) love