git clone --bare [email protected]:jonlong/<repo>.git
tar -czf <repo>.git.tar.gz <repo>.git
Create a new private repository on the target account:
curl -F 'login=' -F 'token=' -F 'name=jonlong/' -F 'public=0' http://github.com/api/v2/json/repos/create