I tried to add my solution to the local repository by selecting File|Add to Source Control, but I got the following message.
Double-check in command-line by going to the root folder of your Git repository, and type:
git status
Do check that your solution file does show up in the list of files to be added.
Otherwise, that means the Git repository is in one folder, while the solution and its projects are in another path entirely.