set permission on git folder