Clone a repository using its slug (owners can omit the username)

hub

  • A wrapper for Git that adds commands for working with GitHub-based projects.
    If set up as instructed by `hub alias`, one can use `git` to run `hub` commands.
    More information: <https://hub.github.com>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

hub clone {{username}}/{{repo_name}}

click the source code to copy install hub on any operating system with command-not-found.com