Add git commit to log messages and version output.