@staticmethod
def __split_remote(default_remote, branch):
    """
        The branch may be a remote/branch combination.  Split them or use the default_remote if none is specified.
        :param default_remote: The default remote to use if none is provided in branch.
        :param branch: The branch that may also contain a remote.
        :return: A list with a remote and branch.
        """
    remote = default_remote
    split = []
    if '/' in branch:
        split = list(map(lambda x: x.trim(), branch.split('/')))
    if '\\' in branch:
        split = list(map(lambda x: x.trim(), branch.split('\\')))
    if len(split) == 2:
        remote = split[0]
        branch = split[1]
    return [remote, branch]
