If you want to save your configs in the git repository, you can use branching. First, make sure that sensitive information is removed from the repo history. Then you go to your main branch (master) and create a new branch named heroku. You put your configs in a branch to the hero and keep this branch local. You never push him to github. Whenever you want to expand, you check the branch for the hero, merge into the master changes and click on the hero.
igorw
source share