<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-use-git-in-bruno-collection-workspace-and-hybrid-setup-p8o62hr8c" -->

---
title: How to Use Git in Bruno: Collection, Workspace, and...
description: Bruno, the local-first API client, stores collections as plain YAML files and integrates directly with Git for collaboration instead of relying on cloud sync....
canonical: https://daily.dev/posts/how-to-use-git-in-bruno-collection-workspace-and-hybrid-setup-p8o62hr8c
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to Use Git in Bruno: Collection, Workspace, and Hybrid Setup | daily.dev
og:description: Bruno, the local-first API client, stores collections as plain YAML files and integrates directly with Git for collaboration instead of relying on cloud sync....
og:url: https://daily.dev/posts/how-to-use-git-in-bruno-collection-workspace-and-hybrid-setup-p8o62hr8c
og:image: https://api.daily.dev/og/posts/P8O62hr8C.png
og:image:alt: How to Use Git in Bruno: Collection, Workspace, and Hybrid Setup
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Use Git in Bruno: Collection, Workspace, and Hybrid Setup

**[Bruno Blog](https://daily.dev/sources/usebruno)** · [@devgancode](https://daily.dev/devgancode) · 14 min read · 9 upvotes · 1 comments

## Summary

Bruno, the local-first API client, stores collections as plain YAML files and integrates directly with Git for collaboration instead of relying on cloud sync. Three Git organization strategies are explained: workspace-level (single repo for all collections, best for monorepos), collection-level (independent repo per collection, best for microservices with separate team ownership), and hybrid (workspace repo plus selected collections linked to their own remotes). The guide covers setup steps for each strategy, a comparison table, decision guidance, and separate provider (creating/pushing) and consumer (cloning/pulling) workflows, noting which Git features are free versus Pro/Ultimate.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.usebruno.com/how-to-use-git-with-bruno>

## Questions this post answers

### What are the different ways to set up Git with Bruno API collections?

Bruno supports three Git strategies: workspace-level, where one Git repository at the workspace root tracks every collection under a single remote; collection-level, where each collection has its own independent Git repository and remote; and hybrid, where the workspace has its own Git repo but specific collections are linked to separate remotes via the Connect to Git feature.

_Teams weighing collection-level versus workspace-level API version control can compare tradeoffs on daily.dev._

### Can I run git init inside a collection folder if my Bruno workspace already has Git initialized?

No, once a workspace has Git initialized, running git init inside a collection folder will conflict with the parent workspace Git. Instead, use the Connect to Git option from the workspace overview to link that specific collection to its own separate remote without creating a conflicting nested repository.

_Developers troubleshooting Git conflicts in nested repos can find similar gotchas on daily.dev._

### Which Bruno Git features are free versus paid?

Free features, available from Bruno 3.0.0 onward, include initializing Git, viewing text and visual diffs, cloning, fetching, and pulling. Pro and Ultimate editions unlock connecting to a remote, pushing commits, creating branches, stashing changes, resolving merge conflicts visually, and viewing per-request commit history.

_Evaluating which API client tier fits your team's workflow is easier with comparisons on daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@pdfopsdev** · 1 upvotes

> biggest footgun with git-backed api clients is env files, not repo layout. mark tokens as secret vars or read them from process.env off a gitignored .env, otherwise a staging token ends up in the first PR that touches an environment.

## Similar posts on daily.dev

- [How to Share Bruno Collections: Git, Export, and Import](https://daily.dev/posts/how-to-share-bruno-collections-git-export-and-import-qz4ne3qtg) · Bruno Blog · 0 upvotes · 0 comments
- [How to Share Bruno Collections and API Docs Publicly: Fetch in Bruno Buttons and Generated Docs](https://daily.dev/posts/how-to-share-bruno-collections-and-api-docs-publicly-fetch-in-bruno-buttons-and-generated-docs-pydrw0dtr) · Bruno Blog · 0 upvotes · 0 comments
- [Git Concepts for Beginners](https://daily.dev/posts/git-concepts-for-beginners-itdqi1br3) · Medium · 1 upvotes · 0 comments
- [Git Worktrees: Work on Multiple Branches Without Stashing](https://daily.dev/posts/git-worktrees-work-on-multiple-branches-without-stashing-rcu2lmqqk) · CircleCI · 25 upvotes · 8 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#git](https://daily.dev/tags/git), [#microservices](https://daily.dev/tags/microservices), [#version-control](https://daily.dev/tags/version-control)

[View this post on daily.dev](https://daily.dev/posts/how-to-use-git-in-bruno-collection-workspace-and-hybrid-setup-p8o62hr8c)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to Use Git in Bruno: Collection, Workspace, and Hybrid Setup","url":"https://daily.dev/posts/how-to-use-git-in-bruno-collection-workspace-and-hybrid-setup-p8o62hr8c","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-use-git-in-bruno-collection-workspace-and-hybrid-setup-p8o62hr8c"},"datePublished":"2026-09-18T13:04:38.649Z","dateModified":"2026-09-19T10:00:13.861Z","description":"Bruno, the local-first API client, stores collections as plain YAML files and integrates directly with Git for collaboration instead of relying on cloud sync....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4eb9ceaf551cfef3c7c3103bf891bb0c?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4eb9ceaf551cfef3c7c3103bf891bb0c?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Bruno Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Ganesh Patil","url":"https://daily.dev/devgancode","image":"https://media.daily.dev/image/upload/s--YZDsshgS--/f_auto/v1723695126/avatars/avatar_DKBm9qlNzn7jbRNc8qWlD","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":60}},"commentCount":1,"discussionUrl":"https://daily.dev/posts/how-to-use-git-in-bruno-collection-workspace-and-hybrid-setup-p8o62hr8c","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":9},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"testing,git,microservices,version-control","timeRequired":"PT14M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Bruno Blog","item":"https://daily.dev/sources/usebruno"},{"@type":"ListItem","position":3,"name":"How to Use Git in Bruno: Collection, Workspace, and Hybrid Setup"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/how-to-use-git-in-bruno-collection-workspace-and-hybrid-setup-p8o62hr8c","comment":[{"@type":"Comment","text":"biggest footgun with git-backed api clients is env files, not repo layout. mark tokens as secret vars or read them from process.env off a gitignored .env, otherwise a staging token ends up in the first PR that touches an environment.","datePublished":"2026-09-18T18:23:43.774Z","url":"https://daily.dev/posts/P8O62hr8C#c-9QtVzxNHL","author":{"@type":"Person","name":"PDFops","url":"https://daily.dev/pdfopsdev","image":"https://media.daily.dev/image/upload/s---8isRBKc--/f_auto/v1782922291/avatars/avatar_orjMeK8QKaaVZwGq7ScPz?_a=BAMAMicg0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-to-use-git-in-bruno-collection-workspace-and-hybrid-setup-p8o62hr8c#faq","mainEntity":[{"@type":"Question","name":"What are the different ways to set up Git with Bruno API collections?","acceptedAnswer":{"@type":"Answer","text":"Bruno supports three Git strategies: workspace-level, where one Git repository at the workspace root tracks every collection under a single remote; collection-level, where each collection has its own independent Git repository and remote; and hybrid, where the workspace has its own Git repo but specific collections are linked to separate remotes via the Connect to Git feature. Teams weighing collection-level versus workspace-level API version control can compare tradeoffs on daily.dev."}},{"@type":"Question","name":"Can I run git init inside a collection folder if my Bruno workspace already has Git initialized?","acceptedAnswer":{"@type":"Answer","text":"No, once a workspace has Git initialized, running git init inside a collection folder will conflict with the parent workspace Git. Instead, use the Connect to Git option from the workspace overview to link that specific collection to its own separate remote without creating a conflicting nested repository. Developers troubleshooting Git conflicts in nested repos can find similar gotchas on daily.dev."}},{"@type":"Question","name":"Which Bruno Git features are free versus paid?","acceptedAnswer":{"@type":"Answer","text":"Free features, available from Bruno 3.0.0 onward, include initializing Git, viewing text and visual diffs, cloning, fetching, and pulling. Pro and Ultimate editions unlock connecting to a remote, pushing commits, creating branches, stashing changes, resolving merge conflicts visually, and viewing per-request commit history. Evaluating which API client tier fits your team's workflow is easier with comparisons on daily.dev."}}]}
```

