Git (Windows): Newbie: Can't commit new repository ... "did not match any files(s) known to git"

Solution 1:

Try using double quotes for "Initial project version"

Solution 2:

I had the same problem and the answer from BloodPhilia worked!

I just wanted to move one of my projects to the GitHub, so I just copied commands from my GitHub repository setup:

git init
touch README
git add README
git commit -m 'first commit'
git remote add origin https://github.com/YuriyHorobey/lp.git
git push -u origin master

(touch will not work under Windows, just create a README file) and this one had failed:

git commit -m 'first commit'

I've replaced ' with " and it works!