Set current branch as default branch Do this once: git config --global push.default current Once that's setup, just do git push to push to the branch you're currently on.