<commit_before># Lab 1

In this lab you will do the following:
1. Install Git
1. Configure Git
1. Learn the basic command line usage for Git

## Prerequisites
For this lab you will need:
* A computer with terminal access
* A willingness to dive in and try stuff

## Tasks

### Install Git

#### Determine if Git is installed
First, determine if you have Git installed.  Issue the following command at a terminal prompt:

```console
$ git --version
```

You can skip the install step and continue to the [Configure Git](#lab01#Configure-Git) section if you get a response like the following:
`git version 2.5.0`

#### Installing Git

Make sure you have the Git command line binaries installed on your machine.  Find on your flavor of Linux below and issue the proper commands.

If you need more detailed instructions, or your OS isn't listed here, have a look at http://git-scm.com/download

#### Install on Ubuntu
```console
$ sudo apt-get -y install git
```

#### Install on CentOS
```console
$ sudo yum -y install git
```

### Configure Git
Git requires that a few config items are set in order for us to use it.  It needs to know who you are so it can tack that information onto all your work.

#### Set your email address
Git requires that you set an email address in order to commit your work.  It won't verify that it is a correct email address, nor will it verify that it is your email address.  This information will be sent with your repo to anyone who collaborates with you on this repository.

```console
$ git config --global user.email "<EMAIL>"
```
#### Set your real name<commit_msg>Update lab01.md<commit_after># Lab 1

In this lab you will do the following:
1. Install Git
1. Configure Git
1. Learn the basic command line usage for Git

## Prerequisites
For this lab you will need:
* A computer with terminal access
* A willingness to dive in and try stuff

## Tasks

### Install Git

#### Determine if Git is installed
First, determine if you have Git installed.  Issue the following command at a terminal prompt:

```console
$ git --version
```

You can skip the install step and continue to the [Configure Git](#configure-git) section if you get a response like the following:
`git version 2.5.0`

#### Installing Git

Make sure you have the Git command line binaries installed on your machine.  Find on your flavor of Linux below and issue the proper commands.

If you need more detailed instructions, or your OS isn't listed here, have a look at http://git-scm.com/download

#### Install on Ubuntu
```console
$ sudo apt-get -y install git
```

#### Install on CentOS
```console
$ sudo yum -y install git
```

### Configure Git
Git requires that a few config items are set in order for us to use it.  It needs to know who you are so it can tack that information onto all your work.

#### Set your email address
Git requires that you set an email address in order to commit your work.  It won't verify that it is a correct email address, nor will it verify that it is your email address.  This information will be sent with your repo to anyone who collaborates with you on this repository.

```console
$ git config --global user.email "<EMAIL>"
```
#### Set your real name
{'fraction_non_alphanumeric': 0.07393483709273183, 'fraction_numerical': 0.005639097744360902, 'mean_word_length': 3.9047619047619047, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1821220', 'n_tokens_mistral': 878, 'n_tokens_neox': 826, 'n_words': 516}