I found I had the same issue - the reason is that you probably don’t have git installed on your machine - this is being used to download the code that will be run.
If you trust a link, you can go to https://git-scm.com/ to get the client for your OS, or you can google for “git”, and go from there.
Then, try running that line again, and it should work.