Your project has not been saved. Save your project before adding it to source code control.
This error has the following cause and solution:
Source code control requires that you save your project so that no project changes are lost.