How to check git version and update git version

In this article, we will see how to check git version and update git version step by step.
Keeping your Git installation up to date is essential, as it gives you all the latest features, improvements, bug fixes, and more. Here’s how to check which Git you’re currently using, and how to update it to the latest version.

Check git version:

1. Open command prompt from Windows machine and run the below command.

git --version

How to check git version and update git version

2. Open git bash from start menu and run the command.

git --version

Update the git version on windows by running below command

1. run the below command to update git version from your git bash console or command prompt.

git update-git-for-windows

Then, type y and hit enter.

Then, we will receive User Account Control Popup. Click on Yes. Then installation will started.

2. Now run the below command to verify git version upgraded or not.

git --version

Leave a Reply

Your email address will not be published. Required fields are marked *