Again, Git is an independent piece of software. You need to have it installed on your machine to call it from the command line or VS Code
Chances are that that’s already the case. Here’s how you can check using the command line:
And here’s how you can check the version:
If you want to install (or update) Git on your Mac, I recommend using Homebrew, “the missing package manager for macOS (or Linux)”:
WSL users can install Git using:
To install/update Git for Windows (not WSL), check out happygitwithr.com