Only the direct membership of the exported item will be included in the transfer file. E.g. If account1 is a member of group1, and group1 is a member of group2. If we export account1 with includeGroupMemberships = true, the group membership [account1, group1] will be exported. If we export group1 with includeGroupMemberships = true, the group membership [group1, group2] will be exported.