I am trying to push my app on to Heroku, but I am getting this error message. I have looked around, someone mentioned about GitHub recently started redirecting http reposito
The problem (could be) that you are probably used git clone --depth .. for your repository and that created so called shallow copy (without history).
If you cloned somebody else repository (!), just delete /.git folder and create a recreate repository as new with
cd /
git init
Then you can push even with remote https://