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!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

SourceTree Requiring CAPTCHA Login Every Time

So every time I try to push or pull, the action fails and I get the following prompt:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin
git: 'credential-osxkeychain' is not a git command. See 'git --help'.
fatal: remote error: CAPTCHA required
Your Bitbucket account has been locked. To unlock it and log in again you must
solve a CAPTCHA. This is typically caused by too many attempts to login with an
incorrect password. The account lock prevents your SCM client from accessing
Bitbucket and its mirrors until it is solved, even if you enter your password

If you are currently logged in to Bitbucket via a browser you may need to
logout and then log back in in order to solve the CAPTCHA.

Visit Bitbucket at for more details.

I have found I am able to fix it by opening bitbucket in the web browser, logging out, logging back in, and completing the CAPTCHA check. Sometimes this check doesnt appear and I'll have to log out and in multiple times for it to work. 

If I just had to do this once it wouldn't be a problem, but its required every time I push or pull, even immediately after I've gone through the process. This never happened before, and no it happens every time. I've already tried updating SourceTree, and no fixes I've found online have worked.

Any ideas would be much appreciated.



1 answer

0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 07, 2019

Hi Justin,

Our apologies for the hassle. A couple suggestions to try:

1. delete and re-add your Bitbucket account from Preferences/Options

2. if you are using SSH, verify the key is loaded by agent (ssh-add -l)

3. alternatively, switch from SSH to HTTPS and see if authentication calms down

Brian Ganninger
Senior Mac Developer, Sourcetree


Looks like deleting and re-adding  my Bitbucket account did the trick. I appreciate the quick response!



Hey Brian, 

It looks like that fix worked temporarily for whatever reason, but I'm now experiencing the same issues again. I am using HTTPS.

Any other ideas I could try?



Like Mike likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events