# gersoniel/setup_git architecture

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

- Interactive diagram: https://gitdiagram.com/gersoniel/setup_git
- Repository: https://github.com/gersoniel/setup_git

## Overview

Gerenciador GitHub Pro é uma ferramenta Bash interativa para executar operações Git em um diretório escolhido, com mensagens em português e orientação para erros comuns. O fluxo principal é escolher o diretório, selecionar uma ação no menu e executar a operação Git correspondente; operações remotas também interagem com o GitHub. A árvore contém apenas `git_setup.sh`, enquanto o README descreve o script como `git-manager.sh`. Sem trechos de código, o mapa reflete apenas as capacidades e relações documentadas.

Main entry points: [`git_setup.sh`](https://github.com/gersoniel/setup_git/blob/main/git_setup.sh) (Gerenciador interativo)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_repo["Repositório"]
  node_repo_ops["Operações de repositório<br/>[git_setup.sh]"]
end

subgraph group_branches["Branches"]
  node_branch_ops["Operações de branches<br/>[git_setup.sh]"]
end

subgraph group_sync["Sincronização"]
  node_sync_ops["Sincronização remota<br/>[git_setup.sh]"]
end

subgraph group_support["Avançado e suporte"]
  node_advanced_ops["Operações avançadas<br/>[git_setup.sh]"]
  node_error_guidance["Orientação de erros<br/>[git_setup.sh]"]
end

node_user(("Usuário"))
node_manager["Gerenciador interativo<br/>[git_setup.sh]"]
node_git["Git"]
node_github["GitHub"]

node_user -->|"escolhe diretório"| node_manager
node_manager -->|"oferece opções"| node_repo_ops
node_manager -->|"oferece opções"| node_branch_ops
node_manager -->|"oferece opções"| node_sync_ops
node_manager -->|"oferece opções"| node_advanced_ops
node_manager -->|"orienta erros"| node_error_guidance
node_repo_ops -->|"executa comandos"| node_git
node_branch_ops -->|"executa comandos"| node_git
node_sync_ops -->|"executa comandos"| node_git
node_sync_ops -->|"sincroniza remoto"| node_github
node_advanced_ops -->|"executa comandos"| node_git

click node_manager "https://github.com/gersoniel/setup_git/blob/main/git_setup.sh"
click node_repo_ops "https://github.com/gersoniel/setup_git/blob/main/git_setup.sh"
click node_branch_ops "https://github.com/gersoniel/setup_git/blob/main/git_setup.sh"
click node_sync_ops "https://github.com/gersoniel/setup_git/blob/main/git_setup.sh"
click node_advanced_ops "https://github.com/gersoniel/setup_git/blob/main/git_setup.sh"
click node_error_guidance "https://github.com/gersoniel/setup_git/blob/main/git_setup.sh"

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_repo_ops toneBlue
class node_branch_ops toneAmber
class node_sync_ops toneMint
class node_advanced_ops,node_error_guidance toneRose
class node_user,node_git,node_github toneIndigo
class node_manager toneTeal
```

## Components

### Repositório

- [Operações de repositório](https://github.com/gersoniel/setup_git/blob/main/git_setup.sh): `git_setup.sh`

### Branches

- [Operações de branches](https://github.com/gersoniel/setup_git/blob/main/git_setup.sh): `git_setup.sh`

### Sincronização

- [Sincronização remota](https://github.com/gersoniel/setup_git/blob/main/git_setup.sh): `git_setup.sh`

### Avançado e suporte

- [Operações avançadas](https://github.com/gersoniel/setup_git/blob/main/git_setup.sh): `git_setup.sh`
- [Orientação de erros](https://github.com/gersoniel/setup_git/blob/main/git_setup.sh): `git_setup.sh`

### Other components

- **Usuário**
- [Gerenciador interativo](https://github.com/gersoniel/setup_git/blob/main/git_setup.sh): `git_setup.sh`
- **Git**
- **GitHub**

## Connections

- Usuário → Gerenciador interativo: escolhe diretório (evidence: `README.md`)
- Gerenciador interativo → Operações de repositório: oferece opções (evidence: `README.md`)
- Gerenciador interativo → Operações de branches: oferece opções (evidence: `README.md`)
- Gerenciador interativo → Sincronização remota: oferece opções (evidence: `README.md`)
- Gerenciador interativo → Operações avançadas: oferece opções (evidence: `README.md`)
- Gerenciador interativo → Orientação de erros: orienta erros (evidence: `README.md`)
- Operações de repositório → Git: executa comandos (evidence: `README.md`)
- Operações de branches → Git: executa comandos (evidence: `README.md`)
- Sincronização remota → Git: executa comandos (evidence: `README.md`)
- Sincronização remota → GitHub: sincroniza remoto (evidence: `README.md`)
- Operações avançadas → Git: executa comandos (evidence: `README.md`)
