I’m using forgejo mirrors to push my local repo to GitHub, seems to work well.
https://forgejo.org/docs/latest/user/repo-mirror/