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
This error comes because you are trying to push the changes from a non-cloned working copy of your git repository. have you initialized git repo on the dir that you are working?? if not so initialize git repo by using git init and then either do a git clone or add a remote by using git remote add origin git@github.com:repourl.git for more detail refer this