No “main” exists yet on the remote (origin) repository.
git push origin main
After this first push you can use the simpler
git push
Edit:
With the recent trends my answer has been update to replace “master” with “main”
No “main” exists yet on the remote (origin) repository.
git push origin main
After this first push you can use the simpler
git push
Edit:
With the recent trends my answer has been update to replace “master” with “main”