Is Git Installed?
Checking your version.
To use Git, you type commands in a terminal. A terminal is a window where you type instructions, instead of clicking. Don't worry, every command in this course is short, and you'll see exactly what each one prints.

- Git lives in the terminal
- You type short commands
- You see what each one prints
Opening a terminal
On a Mac, open the app called Terminal. On Windows, install Git for Windows from git dash s c m dot com, and open Git Bash. On Linux, open your terminal app. Git is often already there, and if not, your package manager can install it.
| key | value |
|---|---|
| Mac | open the Terminal app |
| Windows | install Git, open Git Bash |
| Linux | open a terminal |
| Download | git-scm.com |
Check the version
Let's check that Git is ready. Type git, a space, and dash dash version. Git answers with its version number. If you see a number like this, Git is installed, and you're ready to go. The exact number on your computer may be a little different, and that's fine.
git --version git version 2.39.5 (Apple Git-154)
Summary
If git dash dash version prints a number, you're ready. Next, we tell Git who you are.
Key takeaways- Commands go in a terminal
- git --version
- Any recent version is fine