Use jq to write Git log and Git log --stat to a single JSON document | Dark Hacker News