Create a git hook to set default commit message that will help automate releases

Commented in #29294 (moved) revision.