# Installing and Configuring Git

## Git Installation

### 1\. Windows:

* Download and install Git from [Git for Windows](https://git-scm.com/).
    

### 2\. macOS:

Install Git using Homebrew:

```bash
brew install git
```

### 3\. Linux:

Install Git using the package manager for your distribution:

```bash
sudo apt update && sudo apt install git  # Debian/Ubuntu
sudo dnf install git  # Fedora
sudo yum install git  # CentOS
```

### Verify Installation:

After installation, verify Git by running:

```bash
git --version
```

---

## Configuring Git

### Global Configuration:

Set your username and email globally:

```bash
git config --global user.name "Your Name"
git config --global user.email "youremail@example.com"
```

### Check Configuration:

Verify your Git configuration:

```bash
git config --list
```
