return makeGithubRepoUrlFromRemoteUrl(remoteUrl, getGithubHost());
}
@Nullable
public static String makeGithubRepoUrlFromRemoteUrl(@NotNull String remoteUrl, @NotNull String host) {
GithubFullPath repo = getUserAndRepositoryFromRemoteUrl(remoteUrl);
if (repo == null) {
return null;
}
return host + '/' + repo.getUser() + '/' + repo.getRepository();
}