Save git head info when update code.