If another branch is used for something else e.g. let's say you used master this commit will create a new branch called main. If this happens the new branch will not show until merged with the master branch or switch your default branch to main to show the effects. Switching -u to -f avoids fatal errors when running Gitfiti again on the same repo.
Replace the last lines of the Powershell script output with the following:
git remote set-url origin https://github.com/fluteds/reponame.git
git remote add origin https://github.com/fluteds/reponame.git
git branch -M main
git push -f origin main