Get the github repository owner name from repoUrl.
repoUrl
String getGithubRepoOwner(final String repoUrl) { final List<String> paths = Uri.parse(repoUrl).pathSegments; return paths[paths.length - 2]; }