Git alias:
publish = !"git push --set-upstream origin $(git current-branch)"
Publish the current branch by pushing upstream to origin, and setting the current branch to track the upstream branch.
Example:
git publish
Compare:
git publish & git unpublish (describes both)
git publish (this alias)