I worked around this by creating a button that runs a git commit & push, and an iframe that points to a local running flask app that renders a <pre><code>{{ shell("git status")}}</pre><code>. Not as nice as fully declarative YAML, as this also captures the data files, but at least I have point in time restore.