The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Source tree Error 128 - not a git repository.

Darren Ehlert
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!
May 16, 2023

Hi, about 15 minutes after clone of repository, I get the Source tree Error 128 - not a git repository. The strange thing is that when i click the remote button from Source tree and I get the following error; 

Having trouble showing that directory

Normally, you'd see the directory here, but something didn't go right.

 

If I paste the URL for the git directly, it works fine.

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Martin Runge
Community Champion
September 7, 2026

Hi @Darren Ehlert

Welcome to the Atlassian community!

I would check Tools > Options > Authentication first, since that "having trouble showing that directory" message, plus Error 128, usually means the Bitbucket account token in Sourcetree has expired. Remove the account, then re-add it using OAuth. If the error only affects the cloned folder itself, I would confirm that the clone actually finished and that a .git folder exists at the path that Sourcetree has stored, because a partial or moved clone gives the exact same "not a git repository" message.

Cheers, Martin

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events