I am trying to upload a Ruby app to Heroku. I start with git init and then I type git add . and then I use git commit -m initial commit. <
git init
git add .
git commit -m initial commit
Please try adding the double quotes git commit -m "initial commit". This will solve your problem.