# Git Notes
This is the Git notes from the 2-day training session at ImprovingEnterprises on Jan 21-22, 2015.
## Git Overview

### Git Simple Cycle

1. Write Code
1. `git add .`
1. `git commit -m "meaningful comment"`
1. Repeat as often as you need

### Overview of the Main Git Structures

```
DIR          INDEX        REPO         REMOTE
--------     --------     --------     --------
] WRITE
] CODE

  --> add . -] (moves to index)

             --> commit --] (moves to repo)

                          --> push ----] (moves to remote)
```

## Command Line Cheat Sheet
Verify Git installation
```
git --version
```
Get help with Git
```
git help
```
### Working Locally
Start git at a folder
```
git init
```

### Working with Remote Repos

## Discussions

# Git Notes
This is the Git notes from the 2-day training session at ImprovingEnterprises on Jan 21-22, 2015.
## Git Overview

### Git Simple Cycle

1. Write Code
1. `git add .`
1. `git commit -m "meaningful comment"`
1. Repeat as often as you need

### Overview of the Main Git Structures

```
DIR          INDEX        REPO         REMOTE
--------     --------     --------     --------
] WRITE
] CODE

  --> add . -] (moves to index)

             --> commit --] (moves to repo)

                          --> push ----] (moves to remote)
```

## Command Line Cheat Sheet
Verify Git installation
```
git --version
```
Get help with Git
```
git help
```
Show Aliases
```
git alias
```
Show all branches in repo
```
git branch
```
Show status of repo
```
git status
```
### Working Locally
Start git at a folder
```
git init
```

### Working with Remote Repos

## Discussions

Add info for alias, branch and status
Add info for alias, branch and status
