git push Update were rejected

error: failed to push some refs to ‘https://github.com/x.git’ hint: Updates were rejected because a pushed branch tip is behind its remote hint: counterpart. If you did not intend to push that branch, you may want to hint: specify branches to push or set the ‘push.default’ configuration variable hint: to ‘simple’, ‘current’ or ‘upstream’ to push only the current branch.

git config --global push.default current