Git Advanced
Master advanced Git techniques including remotes, rebasing, squashing commits, worktrees, submodules, and Git workflows.

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


Once you’ve mastered the basics of Git, there’s a whole world of advanced features that can dramatically improve your development workflow.

In this unit, we’ll explore powerful Git techniques that go beyond simple commits and branches. You’ll learn how to:

  • Manage remote repositories effectively
  • Clean up your commit history with squashing
  • Choose between rebasing and merging
  • Use git bisect to track down bugs
  • Work with multiple branches simultaneously using worktrees
  • Incorporate external repositories with submodules
  • Understand and recover from detached HEAD state
  • Keep secrets out of your repositories
  • Implement professional Git workflows

These advanced techniques are essential for working on large projects, collaborating with teams, and maintaining clean, understandable commit histories.

Whether you’re working solo or as part of a team, mastering these concepts will make you a more effective developer and help you avoid common pitfalls that can cost hours of debugging time.

Lessons in this unit:

0: ▶︎ Introduction
1: Working with Remotes
2: Squashing Commits
3: Rebase vs Merge
4: Git Bisect for Debugging
5: Git Worktrees
6: Git Submodules
7: Understanding Detached HEAD
8: Managing Secrets in Git
9: Git Workflows and Best Practices
10: How to push to 2 repositories at the same time and keep them in sync
11: How to update a Git branch from another branch
12: Git, detached HEAD
13: Trigger deploys on Netlify with submodules
14: A Git Cheat Sheet
15: Git, squashing vs not squashing
16: An incomplete list of great Git tutorials
17: Git, what if you forgot to add a file to a commit?
18: Git workflow to manage work on multiple branches
19: How to setup the Git SSH keys