'Why new laravel 9 project with github shows "git: 'auth' is not a git command. See 'git --help'"?

I created a new project with laravel new testproj --github, in order to create a repository in github, but it keeps saying git: 'auth' is not a git command. See 'git --help'. Why is that happening?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source