curl https://git.io/ -i -F "url=<repo-url>" -F "code=<repo-name>"
Above command will give you something like git.io/repo-name
curl https://git.io/ -i -F "url=<repo-url>" -F "code=<repo-name>"
Above command will give you something like git.io/repo-name