error: failed to push some refs to 'github.com

git push -f origin main //solve problem of pushing

 

git push --set-upstream origin main