Recently a lot of the projects I am using has been moving to github.org. I am using Eclipse for development, and that worked flawlessly with Subversion. However, there were some caveats getting the same integration working with git via Egit.
This is what I needed to do in Eclipse 3.5.2 with the Eclipse EGit Feature (Incubation) at version 0.6.0 on Ubuntu 9.10 when doing php-programming.
This guide assumes you have already setup ssh-keys correctly at github.org and you already installed Eclipse.