Run clone command with --config and specify safe.directory -
--config
safe.directory
GIT_CONFIG_GLOBAL=/dev/null git -c safe.directory=/path/to/repo/owned/by/other clone /path/to/repo/owned/by/other ./here