
Fetch a Pull Request from a branch you don't own
There are some cases when you need to pull a specific Pull Request that hasn’t been merged yet. It’s easy to just checkout a branch from your own repositories. But what about fetching a specific PR from a repository you don’t own - like an Open Source project or a fork? That’s something I do a lot as an Open Source maintainer. When someone submits a PR to faker-ruby, and I want to test these changes locally, I can never remember how to checkout their Pull Request on my machine....