I am trying to apply changes I stashed earlier with git stash pop and get the message:
git stash pop
Cannot apply to a dirty working tree, please stage your c
I had the same problem but git had zero changed files. Turns out I had a index.lock file that was lying around. Deleting it solved the problem.