Cutoff long commit messages

When commit messages of commits are very long, these will create very large commit nodes because of all the text. This change cuts off commit messages longer than 300 characters (297+3).

I believe the graphs (linking between commit nodes) are more important than what's in the commit message.