<File> has changed. Undo check out and lose changes?

This warning has the following cause and solution: