解决办法:
在安装git时没有默认安装到c盘,而是安装到了d盘。在使用SourceTree进行代码克隆时提示warning: templates not found in D:\software\development\Git\share\git-core\ 按照提示给出的路径去查找确实没有查找到该路径。然后在Git文件夹下查找templates,发现实际目录为D:\Program Files\Git\mingw64\share\git-core\templates。因此要在git中重新设置一下templated选项,具体设置方法有两种:在安装git时没有默认安装到c盘,而是安装到了d盘。在使用SourceTre