# How to Configure your Git username and email

> Configure your Git username and email

- Source: https://teqstars.com/blog/technical-2/how-to-configure-your-git-username-and-email-2
- Published: 2020-12-01
- Updated: 2026-09-19
- Author: TeqStars Technologies
- Blog: Technical

## Global Configuration

You can set your global commit name and email address by run the **git config** command with the **--global** option

**1.** Open your Terminal/ Command Prompt.

**2.** Set username using below command.

```
git config --global user.name "teqstars-odoo"
```

3. Set email address using below command.

```
git config --global user.email "info@teqstars.com"
```

### Repository Level Configuration

**1.** Open your Terminal/ Command Prompt and move to the Repository.

```
git config user.name "teqstars-odoo"
```

**3.** Set email address using below command.

```
git config user.email "info@teqstars.com"
```
