I have a repository that is forked from GitHub that has a few modifications made to it. However, in a certain commit, a few files were changed that I want to submit a pull-reque
Pull requests merge branches. So if you want to isolate some things for a pull request, best is to put those changes in a separate branch.
Advantage is that you can change the pull request by pushing new changes to that branch (even push -f if you need to change already pushed commits).