Is there an option to restrict git diff to a given set of file extensions?
git diff
Command line argument for extension.
git diff *.py
In the alternative, you can pipe find into git diff:
find
find . -name '*.py' -type f | git diff --