1.填写注册信息
https://github.com/
进入官网

填写用户名,邮箱,密码然后点击sign up for github
2.后面不记得了,然后就可以创建项目了

3.填写项目名称及描述,创建

4.获取git地址

5.在eclipse创建一个项目 test
在项目上右键-->team --> share project-->选择 git

6.上传代码到git
右键项目-->team-->commit

如果选择的是 commit 而不是 commit and push 的话,那么需要单独的push
把项目push到远程仓库去:
项目右键--->team--->remote--->push
ok完成