Describe the bug
GitHub CLI should check PATH for git.exe before it does the whole auth thing. gh version 1.11.0 (2021-06-03)
Fail out BEFORE one does the whole web browser auth. What happens is you're auth'ed in, but then GH tries to configure git and only then does it discover git.exe isn't in the PATH
Steps to reproduce the behavior
- Type gh auth logon on a machine WITHOUT git installed.
- See error
Expected vs actual behavior
GH should check the PATH for git.exe when you do git auth login and FAIL OUT