Wordpress updates on Heroku
I have wordpress installed on Heroku and I can install plugins and updates. My question is if some files changes on the server how can I make sure that it gets committed to the heroku git repo for my app?
Example, wordpress releases an update. I click update wordpress in the admin. All the updated files are changed on the server. If I clone the repo from heroku, will I have the newly installed version of wordpress?