下载git
http://git-scm.com/download/
安装完成后设置环境变量
Path=..../cmd
webstorm中设置git路径
setting->version control->Git
即可