def get_existing_template_files(client, template_path, metadata, force=False):
    """Gets files in the template that already exists in the repo."""
    template_files = list(client.get_template_files(template_path, metadata))

    existing = []

    for rel_path in template_files:
        destination = client.path / rel_path

        if destination.exists():
            existing.append(str(rel_path))

    return existing