Hi Marcus Wilson,
Appreciate your query over the Microsoft Q&A platform.
This problem is likely due to Git not being installed on your machine. Here is how to solve it:
- Check if Git is installed:
In the case that you have none, you can get Git from there and install it.
- Verify the installation:
Launch Command Prompt (Windows) / Terminal (Mac/Linux).
Type in git --version and hit Enter.
A version number means Git is installed and there might be a problem with your system path.
In case you see the error message you stated, Git is not installed.
- Clone the repository:
Look for the directory that should contain the cloned repository and execute the command.
The folder you have cloned should show up in your local directory.
- Try running as Administrator:
In case all else fails, open Git with the option "Run as Administrator" and paste the command that you have from the MS Learn documentation.
- Folder Name:
Once you have cloned, there should be a directory called “mslearn-hotel-reservation-system” which should be available in the cloned area.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.