This command could save you from depression ``` $ gh pr checkout <PR_number> ```
Hahaha Just few days ago I found out a plain solution without the gh client: `git fetch origin pull/<PR_number>/head:local_branch`
you won't be able to push to an external contributors remote with that though, right? such a pita.
Without github CLI: ``` git config --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*" git checkout pr/<PR_number> ` ``