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