A contributor sent a PR from their fork. You want to test their branch locally before merging.
Add their fork as a remote, fetch, check out their branch.
Medium · 3 steps · +500 XP
This scenario walks through 3 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 remote add contrib git@github.com:contrib/app.gitgit fetch contribgit switch --track contrib/their-featureAdd as a remote → fetch → check out. Standard OSS triage flow.