A new version of Visual Studio 2022, 17.1.1 is available. While updating the existing installation the installer completed installation with a warning “Couldn’t install GitV2”. If you faced the similar issue here is how you can fix it.
Open the Visual Studio installer with Administrator rights, Choose modify
Choose Git under Individual components (Search for Git)
Click Modify. This will install the Git V2.