"Did not match any file(s) known to git"

This message indicates that the files you're trying to operate on aren't being tracked by Git or don't exist in your current directory. It can happen when attempting to run git checkout.

git fetch

This synchronizes branch information between your local development environment and remote. It does not attempt to merge remote changes into local. After that, you should be able to run git checkout again.

On this page