# mil222/learning-github architecture

> Architecture diagram of the GitHub repository mil222/learning-github, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mil222/learning-github
- Repository: https://github.com/mil222/learning-github

## Overview

This repository is an interactive GitHub Skills course teaching a learner to create a branch, commit a file, open a pull request, and merge it. The lesson materials and workflow files are organized around those stages; the README documents the learning sequence, but no source excerpts were provided to verify how the workflows deliver or advance lessons.

Main entry points: [`.github/steps/0-welcome.md`](https://github.com/mil222/learning-github/blob/main/.github/steps/0-welcome.md) (Welcome), [`.github/steps/1-create-a-branch.md`](https://github.com/mil222/learning-github/blob/main/.github/steps/1-create-a-branch.md) (Create branch), [`.github/steps/2-commit-a-file.md`](https://github.com/mil222/learning-github/blob/main/.github/steps/2-commit-a-file.md) (Commit file), [`.github/steps/3-open-a-pull-request.md`](https://github.com/mil222/learning-github/blob/main/.github/steps/3-open-a-pull-request.md) (Open pull request)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_lessons["Course lessons"]
  node_welcome["Welcome<br/>[0-welcome.md]"]
  node_branch["Create branch"]
  node_commit["Commit file<br/>[2-commit-a-file.md]"]
  node_pull["Open pull request"]
  node_merge["Merge pull request"]
  node_finish["Finish<br/>[X-finish.md]"]
end

subgraph group_automation["GitHub workflows"]
  node_welcome_flow["Welcome workflow<br/>[0-welcome.yml]"]
  node_branch_flow["Branch workflow"]
  node_commit_flow["Commit workflow"]
  node_pull_flow["Pull request workflow"]
  node_merge_flow["Merge workflow"]
end

node_learner(("Learner"))

node_learner -->|"starts course"| node_welcome
node_learner -->|"creates branch"| node_branch
node_learner -->|"commits file"| node_commit
node_learner -->|"opens request"| node_pull
node_learner -->|"merges request"| node_merge
node_learner -->|"completes course"| node_finish

click node_welcome "https://github.com/mil222/learning-github/blob/main/.github/steps/0-welcome.md"
click node_branch "https://github.com/mil222/learning-github/blob/main/.github/steps/1-create-a-branch.md"
click node_commit "https://github.com/mil222/learning-github/blob/main/.github/steps/2-commit-a-file.md"
click node_pull "https://github.com/mil222/learning-github/blob/main/.github/steps/3-open-a-pull-request.md"
click node_merge "https://github.com/mil222/learning-github/blob/main/.github/steps/4-merge-your-pull-request.md"
click node_finish "https://github.com/mil222/learning-github/blob/main/.github/steps/X-finish.md"
click node_welcome_flow "https://github.com/mil222/learning-github/blob/main/.github/workflows/0-welcome.yml"
click node_branch_flow "https://github.com/mil222/learning-github/blob/main/.github/workflows/1-create-a-branch.yml"
click node_commit_flow "https://github.com/mil222/learning-github/blob/main/.github/workflows/2-commit-a-file.yml"
click node_pull_flow "https://github.com/mil222/learning-github/blob/main/.github/workflows/3-open-a-pull-request.yml"
click node_merge_flow "https://github.com/mil222/learning-github/blob/main/.github/workflows/4-merge-your-pull-request.yml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_welcome,node_branch,node_commit,node_pull,node_merge,node_finish toneBlue
class node_welcome_flow,node_branch_flow,node_commit_flow,node_pull_flow,node_merge_flow toneAmber
class node_learner toneIndigo
```

## Components

### Course lessons

- [Welcome](https://github.com/mil222/learning-github/blob/main/.github/steps/0-welcome.md): `.github/steps/0-welcome.md`
- [Create branch](https://github.com/mil222/learning-github/blob/main/.github/steps/1-create-a-branch.md): `.github/steps/1-create-a-branch.md`
- [Commit file](https://github.com/mil222/learning-github/blob/main/.github/steps/2-commit-a-file.md): `.github/steps/2-commit-a-file.md`
- [Open pull request](https://github.com/mil222/learning-github/blob/main/.github/steps/3-open-a-pull-request.md): `.github/steps/3-open-a-pull-request.md`
- [Merge pull request](https://github.com/mil222/learning-github/blob/main/.github/steps/4-merge-your-pull-request.md): `.github/steps/4-merge-your-pull-request.md`
- [Finish](https://github.com/mil222/learning-github/blob/main/.github/steps/X-finish.md): `.github/steps/X-finish.md`

### GitHub workflows

- [Welcome workflow](https://github.com/mil222/learning-github/blob/main/.github/workflows/0-welcome.yml): `.github/workflows/0-welcome.yml`
- [Branch workflow](https://github.com/mil222/learning-github/blob/main/.github/workflows/1-create-a-branch.yml): `.github/workflows/1-create-a-branch.yml`
- [Commit workflow](https://github.com/mil222/learning-github/blob/main/.github/workflows/2-commit-a-file.yml): `.github/workflows/2-commit-a-file.yml`
- [Pull request workflow](https://github.com/mil222/learning-github/blob/main/.github/workflows/3-open-a-pull-request.yml): `.github/workflows/3-open-a-pull-request.yml`
- [Merge workflow](https://github.com/mil222/learning-github/blob/main/.github/workflows/4-merge-your-pull-request.yml): `.github/workflows/4-merge-your-pull-request.yml`

### Other components

- **Learner**

## Connections

- Learner → Welcome: starts course (evidence: `README.md`)
- Learner → Create branch: creates branch (evidence: `README.md`)
- Learner → Commit file: commits file (evidence: `README.md`)
- Learner → Open pull request: opens request (evidence: `README.md`)
- Learner → Merge pull request: merges request (evidence: `README.md`)
- Learner → Finish: completes course (evidence: `README.md`)
