This documentation is for a development version of IPython. There may be significant differences from the latest stable release (1.2.1).
First you follow the instructions for Making your own copy (fork) of ipython.
git clone firstname.lastname@example.org:your-user-name/ipython.git cd ipython git remote add upstream git://github.com/ipython/ipython.git
Clone your fork to the local computer with git clone email@example.com:your-user-name/ipython.git
Investigate. Change directory to your new repo: cd ipython. Then git branch -a to show you all branches. You’ll get something like:
* master remotes/origin/master
This tells you that you are currently on the master branch, and that you also have a remote connection to origin/master. What remote repository is remote/origin? Try git remote -v to see the URLs for the remote. They will point to your github fork.
Now you want to connect to the upstream ipython github repository, so you can merge in changes from trunk.