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