Let's say you've forked a repository and cloned it to your local machine. Your Favorite Collaborator has added a pull request and had it approved by the repository maintainer; you'd now like that code in your personal fork. Here's how.
Make sure you've cd
ed into your fork of the repository on your computer.
You need to tell the fork where its original version lives. This is called "setting the upstream":