1. To confirm that Git is installed on your machine, run `git --version.` The output should be similar to `git version 2.40.0`.