git deploy (to) empty repository on github

$ cd ../deploydemo/
$ git init
Initialized empty Git repository in C:/Dev/Projects/deploydemo/.git/
$ git add .
warning: LF will be replaced by CRLF in .gitignore.
$ git commit -m "initial commit"
[master (root-commit) 581ef49] initial commit
 17 files changed, 897 insertions(+)
git remote add origin https://github.com/username/deploydemo.git
$ git push -u origin main
error: src refspec main does not match any
error: failed to push some refs to 'https://github.com/username/deploydemo.git'
$ git add .
$ git commit -m "initial commit"
On branch master
nothing to commit, working tree clean
$ git push origin master
Enumerating objects: 42, done.