fatal error git during renaming 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