Related to this issue the currently notified update to GIT does not appear to install when updated through the Tools > Options > Git > "Update Embedded"
It downloads PortableGit-184.108.40.206-32-bit.7z.exe
After extracting and restarting SourceTree the Embedded GIT still shows 2.17.1/LibGit2Sharp 0.24.0 + git-lfs v2.0.2 and notifies that an update to Git-LFS is available.
The following approach to "reinstalling" the embedded git thanks to@Nathan Niesen worked for me:
Can you check the version of Git_LFS.exe in %localappdata%/Atlassian/Sourcetree/git_extras? Is that the 2.0.2 version?
Sourcetree should remove that copy.
Alternatively is it possible you have another copy of Git-LFS installed independently but visible via your PATH?
I've found the problem already (of course right after posting my question first :-) )
I found 2 versions on my system:
Disabling the first version (by renaming the file to .NOT) solved the issue.
Thanks @Jeroen Brattinga! I had the same issue with the embedded Git and the "A newer version of git-lfs is available" and found that my `Sourcetree/git_local` also had the duplicate `git-lfs.exe` files with dates that didn't match the other files in the "distributions".
Since there were other files with old dates as well I took the following approach to "reinstalling" the embedded git:
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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