Once you've forked the RetroPie-Setup repository (as you've already done), create a branch in it and modify the file you want. Then you can submit a PR from the browser, based on your modified branch - https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork.
5e36d06f-43e9-4b67-b244-19a0426fb405-image.png