As awesome as Github’s web interface is, trying to use it alongside your terminal can be rather time consuming and may slow down your workflow.

Why couldn’t you just perform all your common actions straight from the CLI? Well, you can. And it’s not just another homemade application. It comes straight from GitHub itself.

Let me introduce you to Hub, a simple wrapper around Git’s CLI which allows you to make any operation that can be done with GitHub’s API.

Opening pull requests, issues or forking are just a few basic and helpful things that’ll make your life better.

Installation is pretty straight-forward. Nothing fancy.

Or if you’re not an OSX user, you can install it straight from a source.

Basic repositories actions

Let’s start from the most common scenario, creating and forking a repository for a new project.

The regular process using a CLI looks like this: