A default branch (e.g. master
) does not yet exist for your remote. So you first need to create master
branch in the git remote server (e.g. creating a default README.md
file) then try to push
all your existing local branches using this command:
git push -u origin --all