SyntaxFix
Write A Post
Hire A Developer
Questions
I have the same error in my case:
git checkout master error: pathspec 'master' did not match any file(s) known to git
Since Git's "master" name updated with "main", new project can only use "main".
git checkout main