一、新建java项目
二、在setting-->version control-->GitHub中配置账号密码
git在IDEA中的使用
原文:http://www.cnblogs.com/SuMeng/p/7821225.html