truncate commit messages from github