With the Git 2.37.0 version, there is no need to use --set-upstream origin. You can use git push directly after enabling push.autioSetupRemoteautoSetupRemote using the following:
git config --global --add --bool push.autoSetupRemote true Source: James Ide's tweet
Hope this helps!