Github no longer allow password based authentication so SSH is the one way to avoid convoluted authentication via browser.
- Install git using .exe from GIT SCM download . Do not use winget or other options.
- Enable option for integrating git bash with windows terminal. See adding git bash to windows terminal for details.