Avoid superuser lock of .git folder