# ambujmishra1997/devops-git-workflow architecture

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

- Interactive diagram: https://gitdiagram.com/ambujmishra1997/devops-git-workflow
- Repository: https://github.com/ambujmishra1997/devops-git-workflow

## Overview

This repository demonstrates a Git/GitHub workflow, with a small Bash system-information script as its practical feature. The primary documented path is feature work submitted by pull request to dev, then promoted by pull request to main and tagged as a release. Separate branches cover issue tracking, documentation, ignore rules, and release-history records. The README documents these relationships and shows the script’s commands; no source excerpts were provided, so implementation details beyond that are not inferred.

Main entry points: [`scripts/system-info.sh`](https://github.com/ambujmishra1997/devops-git-workflow/blob/main/scripts/system-info.sh) (System info script), [`docs/branching-strategy.md`](https://github.com/ambujmishra1997/devops-git-workflow/blob/main/docs/branching-strategy.md) (Branching guide), [`docs/git-commands.md`](https://github.com/ambujmishra1997/devops-git-workflow/blob/main/docs/git-commands.md) (Git command guide), [`CHANGELOG.md`](https://github.com/ambujmishra1997/devops-git-workflow/blob/main/CHANGELOG.md) (Release history)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Git workflow"]
  node_feature_branches["Feature branches"]
  node_dev_branch["dev branch"]
  node_main_branch["main branch"]
  node_pull_requests["Pull requests"]
  node_release_tags["Release tags"]
  node_issue_tracking["Issue tracking"]
end

subgraph group_feature["System information"]
  node_system_script["System info script<br/>[system-info.sh]"]
end

subgraph group_project_docs["Project documentation"]
  node_gitignore["Ignore rules<br/>[.gitignore]"]
  node_branching_docs["Branching guide"]
  node_command_docs["Git command guide<br/>[git-commands.md]"]
  node_release_history["Release history<br/>[CHANGELOG.md]"]
  node_readme["Project overview<br/>[README.md]"]
end

node_contributor(("Contributor"))
node_github["GitHub"]

node_contributor -->|"creates work"| node_feature_branches
node_feature_branches -->|"submits changes"| node_pull_requests
node_pull_requests -->|"uses"| node_github
node_pull_requests -->|"merges into"| node_dev_branch
node_dev_branch -->|"promotes through"| node_pull_requests
node_pull_requests -->|"merges into"| node_main_branch
node_main_branch -->|"receives tags"| node_release_tags
node_contributor -->|"tracks work"| node_issue_tracking
node_issue_tracking -->|"uses"| node_github
node_feature_branches -->|"develops"| node_system_script
node_contributor -->|"documents workflow"| node_branching_docs
node_contributor -->|"documents commands"| node_command_docs
node_contributor -->|"records releases"| node_release_history
node_contributor -->|"documents project"| node_readme

click node_system_script "https://github.com/ambujmishra1997/devops-git-workflow/blob/main/scripts/system-info.sh"
click node_gitignore "https://github.com/ambujmishra1997/devops-git-workflow/blob/main/.gitignore"
click node_branching_docs "https://github.com/ambujmishra1997/devops-git-workflow/blob/main/docs/branching-strategy.md"
click node_command_docs "https://github.com/ambujmishra1997/devops-git-workflow/blob/main/docs/git-commands.md"
click node_release_history "https://github.com/ambujmishra1997/devops-git-workflow/blob/main/CHANGELOG.md"
click node_readme "https://github.com/ambujmishra1997/devops-git-workflow/blob/main/README.md"

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_feature_branches,node_dev_branch,node_main_branch,node_pull_requests,node_release_tags,node_issue_tracking toneBlue
class node_system_script toneAmber
class node_gitignore,node_branching_docs,node_command_docs,node_release_history,node_readme toneMint
class node_contributor,node_github toneIndigo
```

## Components

### Git workflow

- **Feature branches**
- **dev branch**
- **main branch**
- **Pull requests**
- **Release tags**
- **Issue tracking**

### System information

- [System info script](https://github.com/ambujmishra1997/devops-git-workflow/blob/main/scripts/system-info.sh): `scripts/system-info.sh`

### Project documentation

- [Ignore rules](https://github.com/ambujmishra1997/devops-git-workflow/blob/main/.gitignore): `.gitignore`
- [Branching guide](https://github.com/ambujmishra1997/devops-git-workflow/blob/main/docs/branching-strategy.md): `docs/branching-strategy.md`
- [Git command guide](https://github.com/ambujmishra1997/devops-git-workflow/blob/main/docs/git-commands.md): `docs/git-commands.md`
- [Release history](https://github.com/ambujmishra1997/devops-git-workflow/blob/main/CHANGELOG.md): `CHANGELOG.md`
- [Project overview](https://github.com/ambujmishra1997/devops-git-workflow/blob/main/README.md): `README.md`

### Other components

- **Contributor**
- **GitHub**

## Connections

- Contributor → Feature branches: creates work (evidence: `README.md`)
- Feature branches → Pull requests: submits changes (evidence: `README.md`)
- Pull requests → GitHub: uses (evidence: `README.md`)
- Pull requests → dev branch: merges into (evidence: `README.md`)
- dev branch → Pull requests: promotes through (evidence: `README.md`)
- Pull requests → main branch: merges into (evidence: `README.md`)
- main branch → Release tags: receives tags (evidence: `README.md`)
- Contributor → Issue tracking: tracks work (evidence: `README.md`)
- Issue tracking → GitHub: uses (evidence: `README.md`)
- Feature branches → System info script: develops (evidence: `README.md`)
- Contributor → Branching guide: documents workflow (evidence: `README.md`)
- Contributor → Git command guide: documents commands (evidence: `README.md`)
- Contributor → Release history: records releases (evidence: `README.md`)
- Contributor → Project overview: documents project (evidence: `README.md`)
