Generalizing git lg* formating