I got the following when I try to git push to heroku
fatal: Not a git repository (or any of the parent directories): .git
I try to follow
Make sure you have followed all the steps in the Installation and setup section of the Rails Tutorial book.
The error message you are getting is indicating that you have missed the git init step.
git init