Git
The commit DAG and workflows, explored interactively.
0/7 complete
- The Commit GraphCommits form a DAG, branches are just movable pointers, and HEAD says where you are.easy
- Merging & RebasingHow divergent branches come back together — merge commits, fast-forwards, and rebase.medium
- Git WorkflowsHow teams use Git — feature branches, pull requests, and strategies like Gitflow and Trunk-based development.easy
- Undoing ChangesReset moves a branch pointer, revert adds an inverse commit, restore fixes files, and reflog rescues "lost" commits.medium
- RebasingRebase replays your commits onto a new base for a linear history, while merge ties branches with a merge commit — and why you never rebase shared history.medium
- Stashing & Cherry-pickStash shelves uncommitted work so your tree is clean, and cherry-pick copies a single commit from one branch onto another.medium
- Remotes & CollaborationClone, fetch, pull, and push move commits between your local repo and a remote called origin, with tracking branches telling you when you're ahead or behind.medium