This guide covers Git operations for team members who create and share collections.Documentation Index
Fetch the complete documentation index at: https://docs.usebruno.com/llms.txt
Use this file to discover all available pages before exploring further.
Free Features
The following features are available in the free version starting from Bruno 3.0.0.
Initializing Git
Initializing Git in Bruno is the first step towards managing your API collections with version control. It’s easy and quick to set up. Follow the steps below to initialize Git.- Launch the Bruno app.
- Navigate to the collection you want to initialize with Git.
- Click on the Git Icon in the top-right corner of the navbar.
- Click the Initialize button to set up your collection with Git.

Viewing Diffs
Before committing changes, you can view the differences between your local changes and the previous version. Bruno provides two diff viewing modes to help you understand changes better.- Go to Git UI.
- Click on any modified file to see the diff view.
- Review the changes highlighted in the diff viewer.

Text-Based Diff View
The Text-Based Diff view displays changes in a traditional side-by-side or unified format, showing additions and deletions line-by-line. This is ideal for reviewing detailed code changes.
Visual-Based Diff View
The Visual-Based Diff view provides a more intuitive, visual representation of changes. This mode highlights modifications in a user-friendly format, making it easier to understand structural changes at a glance.
Pro & Ultimate Features
The following features require Pro or Ultimate editions.
Connecting to Remote Repository
Once you have initialized your collection, the next step is to connect it to a remote Git repository. Bruno gives you two ways to do this:- Create a new GitHub repository directly from Bruno — recommended for new collections. Bruno creates the repo on GitHub for you, wires up the remote, and pushes the initial commit, all without leaving the app.
- Connect to an existing repository — use this if you already have a repo on GitHub, GitLab, Bitbucket, or any other Git provider.
Create a new GitHub repository from Bruno
After you initialize Git in a collection that has no remote yet, Bruno shows a Create a repository on GitHub prompt in the Git UI. This lets you create the repo on GitHub, set it as the remote, and push your local branch — all in one flow.
- Open the Git initialized Bruno collection.
- In the Git UI, click the Create a Repo on GitHub button.
- If this is your first time, Bruno will prompt you to sign in to GitHub (via OAuth or a Personal Access Token). Authorize Bruno to manage repositories on your behalf.
- Fill in the Create GitHub Repository dialog:
- Owner — choose your personal account or any organization you have access to.
- Repository name — the name of the new repo on GitHub.
- Description (optional) — a short summary that appears on the GitHub repo page.
- Visibility — pick Private (you and invited collaborators only) or Public (anyone on the internet can view).
- Click Create Repository.

- Create the new repository on GitHub via the GitHub API.
- Set it as the origin remote on your local collection automatically.
- Push your local branch to GitHub so the repo is ready for collaboration immediately.
Connect to an existing repository
If you already have a repository on GitHub, GitLab, Bitbucket, or any other Git provider, click the Add Remote link on the same prompt (or use the Remotes option under Quick Links) to wire it up manually. To connect Bruno to GitHub via this manual flow, you need to set up either an SSH key or a Personal Access Token (PAT) on GitHub. Follow this official GitHub guide to set it up.- Create an empty Git repository on GitHub (or your provider of choice).
- Open the Git initialized Bruno collection.
- Click on Quick Links (bottom-left corner).
- Select Remotes from the dropdown.

- Click the Add Remote button.
- Enter Remote Name and URL (HTTPS or SSH) and click Save.

Adding and Committing Changes
Once you’ve made changes to your collection in Bruno, you can easily commit those changes using the Git UI. This allows you to track changes and collaborate with your team efficiently. Follow these steps to add and commit changes:- Go to Git UI.
- Click the Add Icon to stage your changes.

- Click the Commit Changes button.
- Write a commit message and click Commit.

You can commit all changes in a single click by pressing the Add All Changes button.By following these steps, your changes are now committed and tracked in Git, ready to be pushed or shared with others.
Pushing Changes
The GUI-based Git integration in Bruno allows both engineering and non-engineering teams to work together in a fast, efficient, and accurate manner. This integration ensures that your collections remain consistently up-to-date across all team members.Before you can push or pull changes, ensure that the remote repository is linked to your project.Push your local changes to the remote repository with just a few clicks.
- Go to Git UI and click the Fetch button.
- Click the Push button.

Follow the Consumer guide to learn about the pulling changes feature.
Branch Creation and Checkout
With branches in Bruno, you can manage your code effectively by isolating different features or tasks.Creating Branches
Follow the steps below to create branches in Bruno.- Go to Git UI.
- In the bottom left corner, click on main (or the default branch name).
- Enter a Branch Name.
- Click the Create branch button.

Branch Checkout
- Click on main.
- Select the branch you want to switch to.

- Now you’re switched to your selected branch.
Stash Changes
Stashing allows you to temporarily save your uncommitted local changes (both staged and unstaged modified tracked files) and revert your working directory to a clean state matching the last commit. This is especially useful for quickly switching context or handling urgent tasks without having to commit unfinished work.- Go to Git UI.
- When you have unstaged changes, click on Stashes.
- Enter a Stash Message and click the Stash files button.

- Your local changes are saved temporarily so you can work on something else or switch branches without losing your changes.
- Stashes can be viewed, deleted, or applied to restore your changes later.

Merge Conflict Resolution
When conflicts arise during pull or stash operations, Bruno provides a visual conflict resolution interface.Conflict Detection
When conflicts are detected, Bruno provides information and options to resolve conflicts:- Commits behind and ahead of remote
- Conflicting changes identified
- Abort - Abort the operation and restore previous state

Visual Conflict Editor
The conflict editor provides:- File List - Shows all conflicted and non-conflicted files with status indicators
- Diff View - For each conflict, choose to:
- Accept Incoming (remote version)
- Accept Current (local version)
- Accept Both (merge both versions)

Request Git History
The History tab inside the Git UI lets you browse the full commit history of any individual request. You can see every commit that touched that request — complete with commit message, author, date, and short hash — and click any commit to inspect the exact diff.Viewing commit history for a request
- Open the collection in Bruno and navigate to any request.
- Click the History tab in the request panel (alongside Params, Body, Headers, etc.).

| Column | Description |
|---|---|
| Message | The commit message |
| Author | The Git author name |
| Date | Relative timestamp (e.g. “Few seconds ago”) |
| Hash | Shortened commit SHA |

Inspecting a commit diff
Click any row in the commit list to open the diff for that commit. Bruno displays the file-level diff — additions and deletions — for the selected commit, using the same text and visual diff viewer available elsewhere in the Git UI.