git push remote main code example
Example 1: git push remote
git push -u origin master // where 'master' is branch name
Example 2: git push main
git push <remote> --force
git push -u origin master // where 'master' is branch name
git push <remote> --force