gitgithubworkflowpullrequestChecking out Pull Requests locally · GitHub Help
Checking out Pull Requests locally · GitHub Help help.github.com · Originally posted on Pinboard
Let's say someone's made a pull request from their fork into your repository. Here's how you can check out her changes on your machine and verify that everything is a-okay.