I'm following a tutorial to create a remote Git repository, clone it locally, add a README.md file and then save and commit locally then push remotely.
I have followed word for word a few times but when I get to "commit staged changes" every time it says:
Git: Failed to execute git
This is all using Visual Studio Code.
I'm not sure where to go from here and have no idea how to fix this.
This is just after I've pressed "commit":

git initstep to create a new local repository, or b) you did dogit init, but you are trying to execute a Git command from outside the Git project folder. Please check for both of these possibilities.git clone <URL>, did it work? What didgit statustell you from the same location?