When creating a project, it fails with 'git' is not recognized as an internal or external command error

Issue: ‘git’ is not recognized as a command when creating a project

Problem

When attempting to create a project, the process fails with the following error message:

Error: Command failed: git init && git config user.name abcdef && git config user.email abcdef && git add --all && git -c commit.gpgsign=false commit --no-verify -m "[\"CREATE_PROJECT\",\"Test Project\"]"
'git' is not recognized as an internal or external command,
operable program or batch file.

Cause

This error occurs because Git is either not installed or not added to your system’s PATH environment variable.

Solution

To resolve this issue, install Git manually by following the instructions in the link below:

After installing Git, restart your computer and try creating the project again.