force a push to a new repo github code example
Example 1: git push origin master --force
git push origin --force
Example 2: how to push force git
git push origin <your_branch_name> --force
git push origin --force
git push origin <your_branch_name> --force