Hi,
When we have to deploy a community to another Salesforce org that is not connected then the following components have to be retrieved along with the other necessary components like Apex Classes, Visualforce page, Aura, etc., based on our project.
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ContentAsset</name>
</types>
<types>
<members>*</members>
<name>CustomSite</name>
</types>
<types>
<members>*</members>
<name>Audience</name>
</types>
<types>
<members>*</members>
<name>Network</name>
</types>
<types>
<members>*</members>
<name>SiteDotCom</name>
</types>
<types>
<members>*</members>
<name>NetworkBranding</name>
</types>
<types>
<members>*</members>
<name>CustomSite</name>
</types>
<types>
<members>*</members>
<name>Profile</name>
</types>
<types>
<members>*</member>
<name>CustomLabel</name>
</types>
<types>
<members>*</member>
<name>Flow</name>
</types>
<types>
<members>*</member>
<name>Community</name>
</types>
<types>
<members>*</member>
<name>CommunityTemplateDefinition</name>
</types>
<types>
<members>*</member>
<name>CommunityThemeDefinition</name>
</types>
<version>53.0</version>
</Package>
Reference:
https://developer.salesforce.com/docs/atlas.en-us.220.0.communities_dev.meta/communities_dev/networks_migrate_overview.htm