fatal: The current branch main has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin main code example
Example: the current branch has no upstream branch error
git push -u main --all
git push -u main --all