1.
There are a number of different ways to make a pull request in GitHub. In general, they are all equivalent and it won’t matter which one you use. The following steps will walk you through one of those ways.
(a)
When you first push a feature branch GitHub assumes that you are likely to make a pull request for it. To make this easy it will automatically display a big green “Compare & pull request” button at the top of the page for your origin repository.
Click that button. You will use the page that appears to create your pull request.
(b)
A gray bar similar to the one shown below should appear at the top of the page.
This bar specifies the repositories and branches that are involved in the pull request. That is, they indicate which branch you are requesting to be pulled from which repository and to which branch in which repository you would like it to be merged.
Note that the specific information that you see in your browser will be different than what is shown above.
The questions in this exercise will help you to better understand what this information means.
(i)
Hint.
The base is where you want your changes merged into/the repository you created your fork from. The head is where your changes are being pulled from/the branch you pushed to your GitHub account from your local machine.
(ii)
Hint.
The base is where you want your changes merged into. The compare is where your changes are being pulled from.