Git actually supports this, believe it or not, although it's a bit wonky (of course):
https://github.com/ewanmellor/git-diff-image/blob/master/REA...
https://zachholman.com/posts/command-line-image-diffs/