[OS-BUILD PATCHv2] Add git config hook