':type cmd: list[str]
:type separator: str | None
:type str_errors: str
:rtype: list[str]'

def run_git_split(self, cmd, separator=None, str_errors='strict'):

    output = self.run_git(cmd, str_errors=str_errors).strip(separator)
    if (not output):
        return []
    return output.split(separator)
