A teammate pushed `feature/payments`. You want a local copy that pulls/pushes against theirs.
`git switch --track origin/feature/payments` creates and tracks in one go.
Easy · 2 steps · +300 XP
This scenario walks through 2 steps, in order:
Try the terminal first — you learn more by doing. When you want to check yourself, here is the command for each step.
git fetch origingit switch --track origin/feature/payments--track sets upstream automatically. No second `--set-upstream` push needed.