git push -f origin master
git pull --rebase origin main
git push origin main
git push --set-upstream origin main
git pull --rebase
source: https://stackoverflow.com/questions/24114676/git-error-failed-to-push-some-refs-to-remote
git pull --rebase origin <branch-name>
git push
git config --global pull.rebase true
git config --global rebase.autoStash true
git commit -m "initial commit"
git push origin +HEAD
git pull origin <your-branch>git push origin <your-branch>