the current branch master has no upstream branch. git code example Example: the current branch has no upstream branch error git push -u main --all