Updated to correct permissions and install git