These are the instructions if you just want to follow the latest networkx source, but you don’t need to do any development for now.
The steps are:
From the command line:
git clone git://github.com/networkx/networkx.git
You now have a copy of the code tree in the new networkx directory.
From time to time you may want to pull down the latest code. Do this with:
cd networkx
git pull
The tree in networkx will now have the latest changes from the initial repository.