Publishing origin/main branch not working with git

When created a new project with the Next.js template and tried to set up a repository on github, I created the repository in the replit git tab, but when I tried to publish the origin/main branch, it either times out or the push is denied, giving me this error message:

Can someone please help me publish the branch to the repo?

Repl link/Link to where the bug appears: https://replit.com/@ResistingGuide4/Race-Manager?v=1

Try deleting the .git folder if there is one, revoke all account access, delete all GitHub repos, and try again.

Also try making the repo in GitHub then linking it with the Remote (HTTPS) URL.