Improve markdown output from git history