Are you using any script? It seems that I can use the line below to generate .diff file `git diff file1 file2 > {sha}.diff` How about .json? Are you using git log --pretty? `git log --pretty=format:{...}`