Did you try this this after pushing your code to a code repository?
Azure Developer CLI Gives Git CLI error.
Successfully installed the following with winget
Azure Developer CLI
Git
Powershell 7
Giving the following commands:
"azd login" - I could successfully login via the azd command.
"azd init -t azure-search-openai-demo" - GIVES ERROR - error checking for external tool git CLI: checking git CLI version: exit status 1
"azd up" - GIVES ERROR - error checking for external tool git CLI: checking git CLI version: exit status 1
OS and Version?
Microsoft Windows 11 Pro Build Number : 22621
Versions
10.0.22621
I have checked that "git --version" is available and comes back with result: as : git version 2.40.0.windows.1
Could anybody provide further insights what could be wrong?
Thanks