doctest option to only run on files that have changed
try to find (non-doc) tests related to modified files
feedback from pull request: describe how we decide which tests to run; fail gracefully
both in the case of not being able to find the git binary and in the case where we
are not in a git repo.
add an extra condition