set correct permissions for the git repo folder