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

16 votes
Accepted answer

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!

Helped me!

Thanks...this helped me too.

Helped me


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

Gobater I'm New Here Nov 29, 2018

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 1 person likes this

Solved my issue! 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 1 person likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 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...

1,125 views 4 2
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