a simple shell script that automatically clones your forked version of a github repository and sets up origin and upstream remotes
Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README
forked

README

Forked - Copyright (c) 2010 Rafal Pocztarski
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute it under certain conditions.

Forked clones your forked version of a github repository
using conventions from: https://help.github.com/forking/

Usage: forked USER REPOSITORY [DIRECTORY]
Clones repository:
    git@github.com:YOU/REPOSITORY.git
and adds upstream remote:
    git@github.com:USER/REPOSITORY.git
in directory DIRECTORY if specified or REPOSITORY otherwise.

You have to fork it on github first using the Fork button on:
    https://github.com/USER/REPOSITORY
and set your github username using:
    git config --global github.user USERNAME
if it is different than your local login name.