Following are the steps to add projects to github . Though i have written this for eclipse projects, actually this works for any projects.
1. I assume you are having git installed in your pc, else first download and and install git from here .
2. Browse to your project folder and type
3. Now let git know where you want to send your content. Type the following
$ git remote add origin https://github.com/[GIT user id]/[projectName].git
4. Now that git knows where you want to send your project , another 3 simple things you have to do. Add the actual project, commit to local git and finally replicate the change to github.
git add . # this adds all the files
git commit -a -m "Initial commit" # this is for local commit.
git push -u origin --all # finally :)
5. Remember git will ask for your github user id and password.