gh pr checkout <number | url | branch>

Check out a pull request in git

Arguments

NameDescription
number | url | branch

Options

NameDescription
--recurse-submodulesUpdate all active submodules (recursively)