if user, project or global hooks are managed in a separate git (git submodule), we need to exclude the .git folder