git worktree lets you check out multiple branches at once
Instead of git stash → git checkout → do work → git checkout - → git stash pop, you can use worktrees:
# Check out a branch in a new directory alongside your main repo
git worktree add ../my-repo-hotfix hotfix/urgent-fix
# List all active worktrees
git worktree list
# Remove when done
git worktree remove ../my-repo-hotfix
Each worktree shares the same .git history but has its own working directory and index. Great for reviewing a PR while keeping your current work untouched.