Official docs outline
18 sections- Getting a repository
git init and clone, working directory, tracked vs untracked files.
- Recording changes
Staging area (index), git add, commit, status, diff, gitignore, file states.
- Viewing history
git log, formatting, filtering, graph output.
- Undoing things
Amending commits, unstaging, restoring files, revert.
- Git objects and the DAG
Content-addressable store, blobs, trees, commits, tags, SHA-1 hashes, commit DAG.
- Git references
Refs, HEAD, branches as pointers, tags, symbolic refs.
- Branching
Branches as pointers, creating and switching branches, HEAD, branch workflows.
- Basic branching and merging
Fast-forward and three-way merges, merge commits, conflict resolution.
- Advanced merging
Merge strategies, conflicts, rerere, undoing merges, ours/theirs.
- Rebasing
Rebase vs merge, replaying commits, interactive rebase, the perils of rebasing shared history.
- Rewriting history
Amend, interactive rebase (squash, fixup, reorder), filter-branch, cherry-pick.
- Reset demystified
reset soft/mixed/hard, HEAD, index and working tree, checkout vs reset.
- Working with remotes
origin, fetch, pull, push, remote-tracking branches, upstream.
- Remote branches and refspecs
Tracking branches, push/pull behavior, deleting remote branches, refspecs.
- Stashing and cleaning
git stash, stash pop/apply, git clean.
- Maintenance and data recovery
Reflog, recovering lost commits, gc, fsck, removing objects.
- Distributed workflows
Centralized, integration-manager, fork and pull request workflows.
- Git hooks
pre-commit, commit-msg, pre-push, server-side hooks.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.
Versions and support
6 release lines| Line | Released | Latest | Support |
|---|---|---|---|
| 2.56 | Sep 28, 2026 | 2.56.0 | Supported |
| 2.55 | Jun 29, 2026 | 2.55.0 | Supported |
| 2.54 | Apr 20, 2026 | 2.54.0 | Supported |
| 2.53 | Feb 2, 2026 | 2.53.0 | Supported |
| 2.52 | Nov 17, 2025 | 2.52.0 | Supported |
| 2.51 | Aug 18, 2025 | 2.51.2 | Supported |
Source: endoflife.date