gh pr checkout
gh pr checkout <number>
Risk: Safe
What it does
Brings a pull request's branch to your computer and switches to it.
When to use it
To try a teammate's change before you review it.
Example
$ gh pr checkout 6Switch to the branch of pull request 6.
Learn it in: GitHub CLI · Official docs