Hi Amrita, welcome to the Community!
Based on previous experiences, this error might be caused by Git. Can you go to Tools > Options > Git, and check whether you are using system or embedded Git, and whether you have an option to install an embedded Git.
While doing some research on this, I found a workaround that consists of creating a directory junction (hard link) for the embedded git Sourcetree tries to use.
%userprofile%\AppData\Local\Atlassian\SourceTree create a directory junction using elevated command prompt named
git_local to point to scoop's git location
mklink /J %userprofile%\AppData\Local\Atlassian\SourceTree\git_local *path*\Scoop\apps\git\current
Then in source tree options, specify it to use embedded git.
Lastly, this problem was already reported in our issue tracker and you can follow it here.
Hope that helps!
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events