I thought it was a conflict of "git init" creating master branch and github's (new) "main".
After:
git add .git commit -m "first commit"
I was able to git branch -M main
I thought it was a conflict of "git init" creating master branch and github's (new) "main".
After:
git add .git commit -m "first commit"
I was able to git branch -M main