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
.
Solution
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.