Problem Statement
How do you create a local branch that tracks an existing remote branch?
Explanation
Use `git switch -c feature origin/feature` or `git checkout --track origin/feature`. This sets upstream so pulls/pushes use the remote branch by default.
Practice Sets
This question appears in the following practice sets: