def parseGithubUrl(fullUrl, stripDotGit=False):
    """ Get user/organisation and repository name from github remote name (optionally removing the trailing ".git") """
    remote, repo = fullUrl.split(":")[-1].split("/")[-2:]
    if stripDotGit:
        repo = repo.strip(".git")
    return remote, repo