Compare two commands' output without temp files:
The
diff <(git show main:config.json) <(cat config.json)
<(...) process substitution hands each command's output to diff as a file. Works in bash and zsh.commit a1823a3