git add -A
git commit -am "Initial commit"
git branch -D main
git branch -m main
git push -f origin main
git remote add my-fork https://github.com/yourName/YourForkName
git fetch my-fork
git push my-fork
git checkout <branch-to-modify-head>
git reset --hard <commit-hash-id-to-put-as-head>
git push -f