Installing GIT on Mac

I’m running through Part 3 of the HTML/CSS3 course. To start it says to install Git. I’m on a mac with Xcode already loaded—does that mean I already have Git on my machine? Thanks.

Open a terminal window and enter this command:

git --version

Thanks. That’s it.
git version 2.21.0 (Apple Git-122.2)