current branch has no upstream branch to push the current branch and set the remtoe as upstream code example Example: the current branch has no upstream branch error git push -u main --all