Even if you have Git installed you may want to ensure that it’s the latest version. Follow the Getting Started - Installing Git guide to install Git.
Next, check the Git installation. Open your terminal and run the below command to ensure Git is installed. You should see a version number after you run the command: