> For the complete documentation index, see [llms.txt](https://lukasz-nowakiewicz.gitbook.io/resources/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lukasz-nowakiewicz.gitbook.io/resources/git/install-and-config.md).

# Install and Config

### Installation

**Git** is a free version control software designed to manage and track the changes to your code.

Open terminal or command line and type: `$ git --version` to check if you have it in your local environment. If you don't have it - install [Homebrew](https://brew.sh/) first and then run: `$ brew install git`

### Configuration Commands

| # | Command                                                   | Description                                 |
| - | --------------------------------------------------------- | ------------------------------------------- |
| 1 | `git config --global user.name "john.smith"`              | Define your user name.                      |
| 2 | `git config --global user.email "john.smith@example.com"` | Define your email address.                  |
| 3 | `git config --system core.editor vim`                     | Set your default editor, in this case, vim. |
| 4 | `git config --list`                                       | Check the current settings.                 |
