'Given a base URL to a Github repository, return a tuple of the owner, repo, branch
:param url: base URL to repo (e.g. - https://github.com/cloudera/hue/tree/master)
:return: tuple of strings (e.g. - (\'cloudera\', \'hue\', \'master\'))'

def parse_github_url(self, url):

    match = self.github_url_regex.search(url)
    if match:
        return (match.group('owner'), match.group('repo'), match.group('branch'))
    else:
        raise ValueError(('GitHub    URL    is    not    formatted    correctly:    %s' % url))
