Track
Git in a Minute
Git concepts that matter most when coding agents commit, branch, and work in parallel.
- CommitsA commit snapshots a set of changes with a message—your unit of history for review and rollback.
- BranchesA branch is a movable pointer to a commit—your named line of history for a change.
- DiffsA diff shows what changed between snapshots—your primary review tool for agent output.
- RebaseRebase replays commits onto a new base—useful for updating a branch, dangerous on shared history.
- WorktreesGit worktrees let you check out multiple branches of the same repository into separate directories at once.
- Cherry-pickCherry-pick copies a commit onto your current branch—useful for rescuing a good agent fix from a messy branch.
- Parallel agent workspacesRun multiple coding agents safely by giving each a worktree, branch, and clear merge path.
- Bisectgit bisect binary-searches history to find which commit introduced a bug—vital when agent commits are frequent.
- RecoveryGit recovery tools—reflog, reset, revert—help undo agent mistakes without panicking.
More tracks