Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sourcetree - Fatal: ArgumentException encountered. WHY?

When doing a PULL request i always get this:


git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
Fatal: ArgumentException encountered.


Gratned, the Pull request is successful in the end but the fatal exception in the log always bothers me. Any ideas what is causing it?


2 answers

1 accepted

22 votes
Answer accepted

I encountered the same problem. You can go to "Tools"-"Options", in the "Git" tab, at the bottom of this tab, see which Git version you are using. If you "use System Git", the error could be due to an old version of Git. You can either choose to update your Git of your system, or choose "Use Embedded Git", see if the issue can be solved. I solved my issue in both ways.

this seems to have sorted my issue too. Thank you!

Thanks...this helped me too.

Helped me


Deleted user Nov 12, 2018

I found the same issue, but I fixed after changing the Git options to "System Git"

Switching to Embedded Git seems to help. However, I would like to be able to use the one on my system which is newer.


I also tried to update the Credentials Manager for Windows as suggested here, but didn't work

Like Renshi LI likes this

Solved my issue! Thanks!

Choosing 'Use Embedded GIT" resolved my issue.

Solved my issue too ! Thanks :)

I am also encountering the same problem. 

Did you manage to find an answer to this?

I am still getting this error. Switched between both gits, and downloaded the latest embedded git. No difference.

I've been getting the issue below.  I just updated my embedded git, but still seeing issue.  Any other suggestions?


git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin feature/2485__approved_claims_printing:feature/2485__approved_claims_printing
fatal: HttpRequestException encountered.
An error occurred while sending the request.

Like Lee JinBae likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,202 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you