I am trying to publish my third site, so I fairly new to github, and I am getting: the following error:
$ git branch -M main
error: refname refs/heads/master not found
fatal: Branch rename failed
I have used git-bash, them some code on github account, and on the above stage I got the error.
I am bit stuck, I have search for the error, but I could not fix it.