I forked a project on github.
I made commit 1,2,3,4 & 5 on my master branch.
I want to present commit 2 & 5 as a pull request to upstream, in such a way that when upstream accepts, and I sync my branch with upstream, I don't get any conflicts.
What are the various ways I could do that?