Suppose you want to shorten the URL to a particular location on GitHub. Or perhaps you want to create a vanity URL that goes directly to your GitHub profile, e.g. https://git.io/saraford. You can use Git.io: GitHub URL Shortener.
To shorten a URL, open your favorite command prompt (via Git Shell) and type in
$ curl -i https://git.io -F "url=https://github.com/saraford/your-moment-of-github-zen/issues"
in the response, you’ll see your shorten URL!
To create a vanity URL for your GitHub profile,
$ curl -i https://git.io -F "url=https://github.com/saraford" -F "code=saraford"
in the response, you’ll see a new way to refer to your GitHub profile!