Github: new PR includes commits earlier than fork
<p>I'm only learning Github. I have a question about the web interface, and would prefer answers for the web interface, <em>if they are possible</em>.</p>

<p>I forked a repo that I want to contribute to. I create a new branch on my fork, make a couple of commits, and now I'm trying to create the PR on the original repo. This is what it looks like:</p>

<p><a href="https://i.stack.imgur.com/LCoKy.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LCoKy.jpg" alt="while creating my PR on Github"></a></p>

<p>My selection of the base and head branches is made following the guidelines for this particular project. I'm supposed to put bugfixes in the <code>hotfix</code> branch.</p>

<p>Now, since my fork was made only on the beginning of October, what I don't understand are those 4 commits made by someone else, not me, on earlier dates. I only did the 2 commits on Oct 10. I expected anything previous to be exactly the same as on the original. </p>

<p><strong>My questions:</strong> </p>

<ol>
<li><p>What is going on? Why are those earlier commits showing there in the compare?</p></li>
<li><p>How can I remove them, or how should I create a PR with only my own commits?</p></li>
</ol>

<p>I've had this problem before and it caused my PR not to be accepted, so I really need to understand this and correct it.</p>