- Also split out addition of Gerrit commit hook into its own function. Change-Id: I28ed048c5a094c5c9c0246cdabf67833583d66fb