The branch has no upstream branch. Would you like to publish this branch? code example Example: the current branch has no upstream branch error git push -u main --all