This question is quite simple. I have a heroku app deployed, and I cannot find it's source code.
How can we retrieve the github repository url for a given heroku app via either the heroku CLI or by the heroku web interface?
Edit: yes, this has been troubling me for over a year now
What I've tried
I have tried heroku git:clone -a APP-NAME
which copies the repository (from heroku?) to local. After cd
ing into it, and trying to get the github remote url
git config --get remote.origin.url
but that returns blank. I also tried
git remote show origin
fatal: 'origin' 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.