Pre-requesite: Tracking upstream
Create a branch and cherry-pick interresting commits to push to upstream through a pull request (PR) with following commands:
git checkout -b fix-something
git reset --hard upstream/main
git cherry-pick --no-commit <interresting-commit-hash>
git push --set-upstream origin "$(git-branch-current 2> /dev/null)"
Then go to Github and create a PR to upstream repository.
Using prezto aliases:
gbc fix-something
gwR upstream/main
gcP <interresting-commit-hash>
gpc