Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Clone failed 3.4.26

mirjameitner
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!
November 18, 2025

Hello

 

I installed Sourcetree Version 3.4.26 on Windows Server 2022 Standard.
After a uninstall and reinstall, I always get's this error, when trying to clone a project from gitlab.

Output:
Error: "C:/Users/..../AppData/Local/Sourcetree/app-4.3.26/tools/putty/plink.exe": line 1: C:/Users/..../AppData/Local/Sourcetree/app-4.3.26/tools/putty/plink.exe: No such file or directory
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

Yes, because it's in

C:\Users\.....\AppData\Local\SourceTree\app-3.4.26\tools\putty

I don't have any idea why sourcetree uses 4.3 instead of 4.3? And I don't have any idea, how to sole that problem, reinstall didn't work (with deleting appData and registry keys)?

 

best Regards

Mirjam

1 answer

0 votes
Tomislav Tobijas
Community Champion
November 18, 2025

Hi @mirjameitner ,

Yeah... It seems that Sourcetree is referencing an incorrect or leftover config. from the previous installation. I guess reinstalling and deleting AppData and registry keys usually resolves this, but sometimes remnants can persist.

What you could do to troubleshoot this:

  • Check Sourcetree Version > Make sure you are running the correct version (3.4.26) and that no files from other versions (like 4.3.26) remain in your AppData\Local\SourceTree directory
  • Clean Up Old Directories > Manually delete any folders named app-4.3.26 or similar in C:\Users\<your_user>\AppData\Local\SourceTree\ if they exist.
  • You could also reset SSH client path: in Sourcetree, go to Tools > Options > Git and check the SSH Client setting. Make sure it points to the correct plink.exe in the 3.4.26 directory, or switch to "OpenSSH" if possible.

I guess you could also reinstall Git and Sourcetree and verify after installing that all paths in Sourcetree settings are correct.
Additionally, you can remove any saved credentials for your Git server in Windows Credential Manager, as old credentials can sometimes cause path or auth. issues.

Another troubleshooting step would be to try cloning the repository using the Git command line to confirm that your SSH keys and access rights are working independently of Sourcetree.

What also comes to my mind is that there's a Mac version which is 4.x, but from what I can see, the latest one is 4.2.14. I was thinking maybe Windows config. is referencing something from Mac directory, but I guess that's not the case here... 🤔

Cheers,
Tobi 

mirjameitner
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!
November 18, 2025

There is no Version 4.x for Windows. I only installed 3.4.26. Later i tried 3.4.21, but nothing worked. I have no idea, where this 4.3.26 comes from...

I removed Sourcetree, then deleted all files in AppData and also deleted all registry key. Even then I get the same error. 

 

You could also reset SSH client path: in Sourcetree, go to Tools > Options > Git and check the SSH Client setting. Make sure it points to the correct plink.exe in the 3.4.26 directory, or switch to "OpenSSH" if possible.

Where can I find that? I don't have any settings regarding SSH Client setting in Git Tag. OpenSSH is not possible.

Tomislav Tobijas
Community Champion
November 22, 2025

Yeah, the SSH client is removed from UI in newer versions... my bad

You could try to navigate to

C:\Users\<user>\AppData\Local\Atlassian\Sourcetree.exe_<random hash>\

And inside that folder, delete user.config (or potentially entire directory). This folder could resurrect 'old paths'

I believe Sourcetree will try to use

 

  • PuTTY/plink if you installed Git without OpenSSH

  • OpenSSH if you installed Git with OpenSSH

You would probably also need to check and troubleshoot that somehow (potentially reinstall Git for Windows) 👀

Btw, sometimes Git's own SSH path can override Sourcetree. Maybe try to check git config what the output is and if it's referencing 4.3.26 anywhere. 🤔

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events