update git via cmd?


I recently updated my Git Extension to and now my git is no longer supported. When I run:

git --version 

I get

 git version 2.9.0.windows.1

However, I can’t just download the latest version of git online because I can’t run an .exe installer due to admin rights and what not, so is there a command I can run to upgrade directly from admin cmd?


If you can’t run an exe due to the right restrictions, you should use the portable version ( https://github.com/git-for-windows/git/releases ).

Uncompress it in a folder and add the path of this folder in your PATH environment variable before the one of the old git. Or set it directly in GitExtensions.

Answered By – Philippe

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published