Currently I'm developing some applications that I want to share with the community. Therefore I decided to use github. I could find a lot of tutorials that tell me how to create a repository from scratch in github, but I couldn't find one that tells me how I can share an existing eclipse project. I would prefer a solution that works inside eclipse using a GUI.
You can follow this user guide section of git push (to a GitHub repo), adding a remote with the ssh address of your GitHub repo:
See also this tutorial to push your local project to that GitHub repo.
Also to the answer of VonC i have add the urls in text so if you need to do c&p:
you can get this uri from git.hub in the repository that you must create :)
NOTE: I use the https connection, providing my git's username and password.