If you have a github fork you would make the corresponding change via Settings in your github repo.
To update a local checkout, where 'origin' refers to wildfly/wildfly-capabilities:
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
Best regards,Brian