scrub notebook outputs as a git pre-commit hook