mod - use full path to invoke git.

Change-Id: I13ec6c807ad82d2c795fabd2d7bd39f359e78004
mod - convert default hooks to python.

Change-Id: I3f14f148263286228c68cbbe944fe18ec17ed2d2