encapsulate get_content for a doc
plumbing to update a doc in a git post-commit hook