第一步:菜单栏 VCS------>import into Version control------>Create git Repository------>弹出框找到选中自己项目------>点击Ok

第二步:选中项目右键 ------>git------>Add 文件会变成绿色表示成功

第三步:VCS------>commit------>ok 提交到本地仓库
第四步:VCS------>git------>push------>单击Define remote------弹出框URL输入要上传的git地址
