- Clone original repo on github website
- Checkout cloned repo, add remote to "original" repo
git clone https://github.com/huuuus/build-libcurl-windows.git git remote add original https://github.com/blackrosezy/build-libcurl-windows.git
- Edit .git/config, to add prs to the "original" remote, by adding this line:
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
- Fetch original & checkout the pull request
git fetch original git branch -a # just to show the available branches git checkout remotes/origin/pr/18 .