how to push code to the github force push code example
Example 1: git force push
git push --force
Example 2: git force push to remote
git push -f <remote> <branch>
# example: git push -f origin master
git push --force
git push -f <remote> <branch>
# example: git push -f origin master