failed to push refs/head/main code example
Example 1: error: failed to push some refs to
git push -f origin master
Example 2: failed to push some refs
git push origin master
git push -f origin master
git push origin master