Git Native

Diagrams with Git

Version-control your architecture diagrams. Branch, diff, merge, and review diagrams with the same Git workflow you use for code.

Why Git for diagrams

The same version control you trust for code, applied to architecture.

Full commit history

Every diagram change is a commit. See who changed the architecture, when, and why — with git log and git blame.

Branch and merge

Experiment with architecture changes on branches. Merge when approved. Revert if needed. Standard Git workflow.

Clean text diffs

Mermaid and PlantUML are plain text. Git shows clean line-by-line diffs — no comparing screenshots.

PR-based review

Architecture changes go through pull requests. Reviewers comment on specific lines and approve before merge.

Works with any Git host

GitHub, GitLab, Bitbucket, Azure DevOps — diagrams stored as text files work everywhere Git works.

AI-generated diagram code

Describe your architecture in English. Cybewave generates the Mermaid or PlantUML code. Commit to Git.

How it works

1

Write Mermaid/PlantUML code

Author your architecture diagrams as text-based code using Mermaid or PlantUML syntax directly in your repository. Store diagram source files alongside the application code they describe for maximum co-location.

2

Commit to Git

Commit diagram code files like any other source code. Each commit captures the diagram state at that point in time, complete with commit messages that explain why the architectural change was made.

3

Diagrams version with your code

Your architecture documentation now follows the same branching, merging, and review process as your application code—ensuring diagrams and implementation never drift apart over time.

Use cases

Monorepo documentation

Keep architecture diagrams in the same monorepo as your services, ensuring each service's documentation lives right next to its implementation code.

Branch-based architecture experiments

Create feature branches to experiment with architectural changes, diagram the proposed architecture, and discard or merge based on review feedback.

CI-rendered diagram validation

Set up CI pipelines that render diagrams on every push, catching syntax errors and ensuring diagrams always produce valid visual output automatically.

Documentation-as-code practice

Treat architecture documentation with the same rigor as application code—linted, reviewed, tested, and versioned in Git alongside everything else.

Open source project architecture

Provide clear, maintainable architecture diagrams in open source repositories that contributors can update through standard pull request workflows.

GitOps workflow documentation

Document your GitOps pipelines and deployment workflows as diagrams stored in the same Git repositories that drive your infrastructure automation.

Why Git-based diagrams matter

Diagrams stored outside of Git have a shelf life measured in weeks. They live in wikis, cloud drives, or design tools that nobody updates when the code changes. Git-tracked diagrams are the only diagrams that stay accurate because they are maintained by the same developers who change the code, in the same workflow they already use every day.

Git gives diagrams superpowers that no other storage medium provides: branching lets you experiment with architectural changes without risk, diffs show exactly what changed between versions, blame reveals who made each modification, and merging combines parallel work from multiple contributors seamlessly.

When diagrams live in Git, they become part of your deployment pipeline. You can validate diagram syntax in CI, generate rendered images automatically, publish documentation on merge, and ensure that every release includes up-to-date architecture documentation. This automation eliminates the manual effort that causes most documentation to fall behind.

Version-control your architecture

Free to start. 50 AI credits/month. No credit card required.

Get started for free →