Git Branching, Merging, and Rebasing Workflows
8 steps · about 3 h 15 min · Intermediate
- Creating, listing, and deleting Git branches (reference, Git Documentation, 20 min)
Manage lightweight branch pointers to organize independent lines of development.
- Joining development histories with git merge (reference, Git Documentation, 25 min)
Incorporate changes from named commits or branches into the current HEAD branch.
- Understanding and resolving Git merge conflicts (guide, GitHub Docs, 25 min)
Recognize conflict markers in conflicting files, choose the right changes, and finalize the merge commit.
- Rebasing branches onto new base commits (guide, Git Documentation, 30 min)
Maintain a linear project commit history by reapplying commits onto updated upstream branches.
- Reapplying commits on top of another base tip with git rebase (reference, Git Documentation, 25 min)
Forward-port local commits to maintain a clean linear commit graph.
- Stashing working directory changes temporarily (guide, Git Documentation, 20 min)
Save uncommitted modifications with git stash to switch context quickly without losing work.
- Branch management and collaboration workflows on GitHub (guide, GitHub Docs, 20 min)
Follow standard branch naming, protection rules, and PR review lifecycles.
- Understanding git reset, checkout, and restore safely (guide, Git Documentation, 30 min)
Learn the difference between the working directory, index (staging area), and HEAD history.