[github_commit] Extract the first line of a commit as the title

should fix https://meta.discourse.org/t/22396
When I tried this out, there was a lot of leading space in the <pre> and it looks bad. I don't think you should use new lines and indentation in this case.