Git Github Pull Request Fetching

To fetch the pull request changes from the remote origin of pull request 124 into a local branch pr-124:

shellgit fetch origin pull/124/head:pr-124

To list the remote refs available

shellgit ls-remote origin

To automatically fetch all pull request refs:

shellgit config --add remote.origin.fetch '+refs/pull/<em>/head:refs/remotes/origin/pr/</em>'