I cloned the repo at https://github.com/railstutorial/sample_app_rails_4 and made a lot of changes to it (I used it as a starting point for my own app), and now I would like to
After cloning, copy the files from their folder into a new one and start afresh with git init,
I had a similar problem like that I had to change the folder directory before I could stage the changes to my repo.
or you can remove current repository origin by the command git remote remove origin.