git hub error error: refname refs/heads/master not found fatal: Branch rename failed code example
Example: error: refname refs/heads/master not found
error: refname refs/heads/HEAD not found
fatal: Branch rename failed
$ git checkout -b main
error: refname refs/heads/HEAD not found
fatal: Branch rename failed
$ git checkout -b main