For the following error:

fatal: The current branch master has multiple upstream branches, refusing to push.

run:

git config remote.origin.push HEAD

back to main