System.ComponentModel.Win32Exception: The System cannot find the file specified

Peter Le
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2014

I've created a new repository on BitBucket and now I am trying to clone it in source tree, but this is what I am seeing:

When I click the details button, this is what I see:

I've tried:

  1. Removing the bookmark and re-adding it to SourceTree
  2. Creating a new repository and cloning it in SourceTree
  3. Uninstalling -> restarting PC -> reinstalling

To no avail.

Someone please help, this is affecting not one, but all of my projects.

4 answers

1 accepted

12 votes
Answer accepted
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 6, 2014

Sounds like SourceTree is installed, but not Git.

Go to Tools > Options > Git, and note whether you are using system or embedded Git, and whether you have an option to install an embedded Git.

Peter Le
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 9, 2014

Prior to the issue, my SourceTree was using the embedded Git so all I had to do to fix the issue was by downloading and installing Git. Thank you very much for your answer!

Jonathan Durey
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2020

Yep, that fixed mine, too!  THANKS!

Jose
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 11, 2020

Thanks man, 5 days stuck with this!!

1 vote
akhildath.vn
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 18, 2020

I had the similar problem, but even after changing it to system git the issue persists, later i had to run sourcetree as admin which helped me get pass this error.

1 vote
GlElf
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 1, 2017

У меня была похожая проблема, помогло обновление встроенного GIT,

0 votes
Manasa Polsani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 11, 2018

Hi,

Even I'm getting the same error. I checked the Sourcetree option and it is using System Git only. Please help how to overcome this error and proceed with cloning.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events