def METHOD_NAME():
    """
    Arguments to `Git()` with autocapture on (default) must satisfy these conditions:
        1) `repo_url` can be None or str
        2) `branch`, `tag`, and `commit_hash` can each be None or str
            a) but only one of the three can be non-None
        3) `is_dirty` can be None, True, or False
    """
    if not IN_GIT_REPO:
        return []
    valid_values = [
        [None, _git_utils.get_git_remote_url(), "foo"],  # repo_url
        [None, _git_utils.get_git_branch_name("HEAD")],  # branch
        [
            None,
            _git_utils.get_git_commit_tag("HEAD") or None,
        ],  # tag (None if HEAD is not at a tag)
        [None, _git_utils.get_git_commit_hash("HEAD")],  # commit_hash
        [None, True, False],  # is_dirty
    ]
    cases = list(itertools.product(*valid_values))
    # remove dups, but maintain consistent original order for pytest-xdist
    cases = sorted(set(cases), key=cases.index)
    # only keep cases if they satisfy (2a)
    cases = [case for case in cases if sum(val is not None for val in case[1:4]) <= 1]
    return cases