'Cannot push to in new GitHub repo after clone from remote Heroku and deploying to Heroku

I have created app into Heroku. then I made a clone and added some codes. then I pushed in Heroku. after deploying successfully I tried to push my codes in the new Github repusitory. but when I past my GitHub remote link, I got an error. it says already remote exists. now, how do push my code into a new repository on GitHub?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source