I have the following alias which simply parses the branch name and passes with carts
alias gpsu='git rev-parse --abbrev-ref HEAD | xargs git push --set-upstream origin'