You need to install openSSH.
On Mac and Linux, git should already be installed and configured properly.
For Windows, download and install Git for Windows. During installation, make sure to select “Use OpenSSH.”
That should be it, git will be installed and ready to use!
OpenSSH is not needed for local git usage. Its needed for accessing remote git repos. Did you reinstall git and activated the openSSH flag while installation?