How do I update Git version via Anaconda command prompt?

Viewed 613

I need to update Git from verson 1.9 to 2.22 and I want to do it via command prompt, I am using Anaconda.

This because I tried to download the exe file from Git website and to run it to update the program but it looks like it does not work.

I tried

Git --help

and I found out that commands like

Git --update

does not exist, at least for version 1.9.
I also tried

pip install -update Git

But it does not work.

Does anybody knows how to do the upgrade?

2 Answers

SOLVED

In the end I solved it by first uninstalling the 1.9 Git version (via Windows uninstall apps tool in OS settings) and only then installing the 2.22 via the downoaded exe file from Git website.

Related