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

Upgrade Mintty to latest version?

The terminal application which came with Sourcetree 3.0.17 shows there is a newer version; Mintty 2.9.6  ( I now have 2.8.5).

Is it save for me to upgrade it, or should I wait for a newer version of Sourcetree which might upgrade it?

How is the Mintty terminal version managed anyway?


1 answer

1 accepted

0 votes
Answer accepted
minnsey Atlassian Team Feb 06, 2019


Sourcetree doesn't manage that we simply call the Git Bash terminal. So any upgrade will come through Git for Windows updates.

I'm not sure if I understand.

Prior installing SourceTree, I didn't have Git or Mintty. After installing SourceTree I did.

I found the git executable in my windows home directory, under Atlassian\SourceTree\git_local. Also the Mintty is installed in git_local.

So for me, both Git and Mintty came included in SourceTree.

I don't see any way to upgrade either one via some Windows installer or anything. The programs are not listed in the Windows 'Programs and Features', but SourceTree is.

I can however choose to Update the Embedded Git version from within SourceTree (via Tools, Options, Git, Git Version). But I don't know if that upgrades Git from 2.18 to 2.20.1 or whatever version.

Could you please explain a little further what you mean?

Also, if I would upgrade manually both Git and Mintty to the latest version, is SourceTree affected in any way?

minnsey Atlassian Team Feb 07, 2019


Mintty is part of the Git for Windows distribution. The Git for Windows version controls what version of Mintty you have, but yes Sourcetree does control what embedded version of Git for Windows you have.

Sourcetree has the ability to install it's own copy of Git into the git_local folder. The verison of Git used for that is hardcoded into the Sourcetree release, so running the Update Embedded Git option will update older versions of Git but not past that specificed version.
For example Sourcetree 3.0.17 specifies Git 2.20.1
Sourcetree also has the ability to work with an externally installed copy of Git for Windows. So you can download whatever version, within reason, you like from and install it. In Sourcetree you can then use the System option in the Tools/Options/Git tab to configure Sourcetree to use that external copy of Git. If the Git is available on the PATH it will find it automatically, otherwise you can find it yourself. 

Sourcetree should continue to function correctly if you do this.

This functionality allows users to either keep their Git version uptodate faster than Sourcetree releases or potentially stay on an older version of Git. 

Like kxk4xyh likes this

Aha! I get it. Thank you very much!

Suggest an answer

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

78,899 views 134 29
Read article

Atlassian Community Events