Linter: Use git to find modified files.

Someone did this in the fjord version of this. It is a lot better than what we had before.

It should produce the same results, it's just cleaner code.

small r?