在Windows下推荐两个解决方案:1. 安装Git bash https://git-scm.com/downloads2. 切换至OSX/ Linux如果你是特指创建Github仓库:下载Github Windows版或者使用IntelliJ里自带的VCS,因为这只有通过调用Github的API才能做到。我们一般在本地创建仓库,然后推到Github的仓库地址。学习Git可以围观https://github.com/geeeeeeeeek/git-recipes/wiki