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
In my case, this error was due to special characters what I was considering double quotes as I copied the command from a web page.