Git zmiany oddziału z gałęzi na główną

git checkout master        # to be sure you are on master branch
git push origin HEAD:main  # and then push the current branch (as master) to main
Crazy Crayfish