# ITESO - Git Bash
Dear students,
Consider installing Git Bash to facilitate managing the course code.

# STEP 1: Installation
## For Windows
**STEP 1**
Verify if you already have "git bash" installed by searching for the program.

**STEP 2**
Download and install the latest version of Git Bash from the official page: https://git-scm.com/downloads
**STEP 3**
Open the git-bash console and verify by typing the following on the command line:
```commandline
git --version
```
## For MacOS
**STEP 1**
Open a terminal and verify if git is already installed: `git --version`
```commandline
git --version
```


**STEP 2**
*If command not found*, choose **one** of the following options:
**Option a)** Install git-bash using the windows instructions.
**Option b)** Install git-bash by running the x-code command:
```commandline
xcode-select --install
```
**Option c)** Install git-bash via homebrew.
Install homebrew:
```commandline
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
And then install git: `brew install git`
**STEP 3**
Once you install `git` via options **a**, **b**, or **c** verify by running the following command on the terminal:
```commandline
git --version
```
# STEP 2: Configuration
Open git-bash and configure your local instalation:
```
git config --global user.name "<your-username>"
git config --global user.email "<your-useremail>"
```
Examples:
* `git config --global user.name "rhdzmota"`
* `git config --global user.email "contact@rhdzmota.com"`