Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Sourcetree can't pull: error: cannot open '.git/FETCH_HEAD': Permission denied

Tara Stewardson
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!
Jul 24, 2023


I have been using Sourcetree (3.4.8) to pull from Bitbucket data center for a long time, but recently have had issues with it and it is no longer working.

No recent updates, but a little while ago Sourcetree wouldn't open (the blue logo came up but nothing happened). A reinstall fixed the issue, but after reconfiguring, Sourcetree stopped being able to pull anything and threw the error:

“git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch --no-tags origin
error: cannot open '.git/FETCH_HEAD': Permission denied
error: cannot open '.git/FETCH_HEAD': Permission denied
error: cannot open '.git/FETCH_HEAD': Permission denied
error: cannot open '.git/FETCH_HEAD': Permission denied
Completed with errors, see above.”

I am able to successfully pull from the same repo in a Git Bash terminal (same SSH key as well), so I am not sure what's going on. 

I have had a look at the logs, but it is not obvious where this error occurs.

Any help is much appreciated, even just on where to look for more info.

0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events