Git_bootstrap.exe - Cannot find Git in your environment path?

I’m trying to downloading additive files, but I get the error: Cannot find Git in your environment path.

  git_bootstrap.exe
Traceback (most recent call last):
File "git_bootstrap.py", line 871, in <module>
File "git_bootstrap.py", line 680, in main
File "git_bootstrap.py", line 214, in validate_args
Exception: Cannot find Git in your environment path. This scripts requires Git t
o be installed.
[11432] Failed to execute script git_bootstrap

How can I fix this? I’m using SourceTree so my git is located at: “C:\Users<User Name>\AppData\Local\Atlassian\SourceTree\git_local\bin\git.exe”.

Thanks.

I solved this problem by tell git boostrap the git’s path:

git_bootstrap.exe --pathToGit "C:\Users\<UserName>\AppData\Local\Atlassian\SourceTree\git_local\bin\git.exe"