<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def github_repo_new(repo_url, plugin_name, versions_file, update_majors):
 """ Convenience method which creates GitRepo and returns the created instance, as well as a VersionsFile and tags which need to be updated. @param repo_url: the github repository path, e.g. 'drupal/drupal/' @param plugin_name: the current plugin's name (for namespace purposes). @param versions_file: the path in disk to this plugin's versions.xml. Note that this path must be relative to the directory where the droopescan module is installed. @param update_majors: major versions to update. If you want to update the 6.x and 7.x branch, you would supply a list which would look like ['6', '7'] @return: a tuple containing (GitRepo, VersionsFile, GitRepo.tags_newer()) """

    gr = github_repo(repo_url, plugin_name)
    vf = v.VersionsFile(versions_file)
    new_tags = gr.tags_newer(vf, update_majors)

    return gr, vf, new_tags