My local Working folder is not recognized as a valid git working copy in Sourcetree?

I have a valid git working copy on my local hard drive that by some reason the folder was not available when I started Source Tree yesterday .

When I try to add this working directory to sourcetree, I get an error saying it isn't a valid working directory. I've tried two ways:

1. File > Open > Select Directory

Error: the path 'somepath/workingdir' is not a valid Git repository working copy.

2. Push the Clone/New button. Select the "Add Working Copy" tab. Select the correct working copy path.

Repository Type: This is not a valid working copy path.


I remember that I was prombted to update my License When I started Source Tree and I accepted to it.

I'm using Windows 8 with Sourcetree

2 answers

This widget could not be displayed.

First, please verify that your folder is indeed a valid Git clone.

You can do this e.g. by opening a command prompt to the folder and executing

git fetch

Unless the fetch runs successfully, there is something wrong with your clone.

This widget could not be displayed.

That sounds like the kind of error SourceTree displays if it doesn't have or can't find the git executable itself. Does SourceTree work with other repositories?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

879 views 2 3
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