I have created a new heroku app and then deployed it just once but after a few days when I am trying to deploy again to that existing Heroku app using the following command but getting some fatal errors
git push heroku main
getting the following errors..
fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
I have also tried the following commands but not working
git push heroku master
Note: I have found an answer to an old listed question where given a solution to create a new Heroku app and then deploy but my question is why my existing app is not working?