This script, based on an idea by Julian Kongslie, creates a new git repository on an upstream host and pushes the current repository up to it, setting everything up so that the upstream host is now being tracked.

The source code is under an MIT license and available at git://