Mark parent directories for git repositories as safe