# Installing Git — Git

Source: https://www.geekswithgeeks.com/en/git/git-installing

> Get Git on your machine and verify it works.

## Install per OS

Pick the command for your platform, then confirm the install.

```bash
# macOS (via Homebrew)
brew install git

# Ubuntu / Debian
sudo apt update && sudo apt install git

# Windows: download the installer from git-scm.com
```

## Verify

A version number confirms the install worked.

```bash
git --version
```

Output:

```
git version 2.43.0
```
