The file '<file>' is not under source code control.

This error has the following cause and solution:

Use the Add Files command to add the file to your source code control provider before trying to check it out or use source code control provider functions on it.