1.在anaconda中执行以下命令即可(要先activation 想用的环境):
conda install m2-base
2.安装git。添加环境变量即可。
参考链接:https://stackoverflow.com/questions/36345136/use-unix-based-commands-with-anaconda-in-windows-operating-system