def METHOD_NAME(self, user, dry_run=False):
    """
    Enqueue a Job to pull the Git repository from the remote and return the sync result.
    Args:
        user (User): The User that will perform the sync.
        dry_run (bool): If set, dry-run the Git sync.
    Returns:
        JobResult
    """
    from nautobot.extras.datasources import (
        enqueue_pull_git_repository_and_refresh_data,
        enqueue_git_repository_diff_origin_and_local,
    )
    if dry_run:
        return enqueue_git_repository_diff_origin_and_local(self, user)
    return enqueue_pull_git_repository_and_refresh_data(self, user)