Add git post commit hook endpoint.