I've created my project locally and initialized .git with branch "master" created by default. History:
> git init
> git add --all
> git commit -m "initial set up"
> git remote add origin https://github.com/me/APP-REPO.git
> git remote -v
> git push origin main
error: src refspec main does not match any
error: failed to push some refs to
> git branch
* master
> git push -u origin main
error: src refspec main does not match any
But, repo created on Github has default branch "main". How can push directly to "main"? Why I can't see that branch locally?
Thank you in advance!