There is also another tool called `pynb` (by the same author) that can be used to achieve human-readable format. The logic is a bit different there, since it generates a .py script file with markdown cells appearing as Python comments.
example diff: https://github.com/minireference/noBSLAnotebooks/commit/9005...
script: https://github.com/minireference/noBSLAnotebooks/blob/master...
pre-commit hook: https://github.com/minireference/noBSLAnotebooks/blob/master...