import re


def get_github(text):
    """
    Fetches GitHub and GitHub's gist urls from the text obtained from the resume.
    :param text:(unicode string) parsed text from the resume.
    :return: a list of GitHub and Gist urls
    """
    github_url = []
    githubs = re.findall('.*[\w\.-]*github[\w\.-]*.*', text)

    if len(githubs) == 0:
        return None
    else:

        for line in githubs:
            line = line.split(" ")
            for word in line:
                if 'github.com' in word:
                    github_url.append(word)

        return github_url