await repo.githubRepoName()
// With a remote configured to push to github.com/pixelastic/gilmore const repoName = await repo.githubRepoName(); // => gilmore
This will return the name of the repo on GitHub.
pixelastic
pixelastic/gilmore