Git modules needs 777 mode so we can manipulate it.