I've given up trying to configure git push the branch I'm on so I type this little dance each time :
git switch -c foo
git push
> did you mean git push --args-with-branch-name?
sigh, copy, paste, enter