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

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.

3 answers

1 accepted

8 votes
Accepted answer

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.

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!

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

0 votes

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
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

982 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you