<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/git-worktrees-and-gitbutler-qszz4nkpc" -->

---
title: Git Worktrees and GitButler | daily.dev
description: Git worktrees allow developers to work on multiple branches simultaneously by creating separate working directories that share the same Git database. The post...
canonical: https://daily.dev/posts/git-worktrees-and-gitbutler-qszz4nkpc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Git Worktrees and GitButler | daily.dev
og:description: Git worktrees allow developers to work on multiple branches simultaneously by creating separate working directories that share the same Git database. The post...
og:url: https://daily.dev/posts/git-worktrees-and-gitbutler-qszz4nkpc
og:image: https://api.daily.dev/og/posts/qSzZ4nkPC.png
og:image:alt: Git Worktrees and GitButler
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.

# Git Worktrees and GitButler

**[GitButler Blog](https://daily.dev/sources/gitbutler)** · 8 min read · 0 upvotes · 0 comments

## Summary

Git worktrees allow developers to work on multiple branches simultaneously by creating separate working directories that share the same Git database. The post explains how to add, list, and remove worktrees, along with their trade-offs (needing separate editor windows, rebuilding artifacts, potential merge conflicts). It then compares worktrees to GitButler's virtual branches, which use a single working directory for all branches — mapping file changes to specific branches and applying them at commit time. The key distinction: worktrees isolate branches in separate directories, while GitButler lets you manage multiple branches from one directory, reducing friction but preventing conflicting changes across branches.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.gitbutler.com/git-worktrees>

## Similar posts on daily.dev

- [Git Worktrees](https://daily.dev/posts/git-worktrees-04mllgbwk) · Flavio Copes · 3 upvotes · 0 comments
- [Git worktrees are now cool](https://daily.dev/posts/git-worktrees-are-now-cool-vmd7dtmgv) · R-bloggers · 0 upvotes · 0 comments
- [What are git worktrees, and why should I use them?](https://daily.dev/posts/what-are-git-worktrees-and-why-should-i-use-them--cgprqx6wz) · GitHub Blog · 8 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/git-worktrees-and-gitbutler-qszz4nkpc)

```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":"Git Worktrees and GitButler","url":"https://daily.dev/posts/git-worktrees-and-gitbutler-qszz4nkpc","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/git-worktrees-and-gitbutler-qszz4nkpc"},"datePublished":"2026-07-26T07:48:21.696Z","dateModified":"2026-07-26T07:49:33.103Z","description":"Git worktrees allow developers to work on multiple branches simultaneously by creating separate working directories that share the same Git database. The post...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/324b85606fcd981066a58b53228ecfe7?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/324b85606fcd981066a58b53228ecfe7?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"GitButler 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":"Organization","name":"GitButler Blog","logo":"https://media.daily.dev/image/upload/s--LrHsyt2T--/f_auto/v1692632054/squad_placeholder_sfwkmj","url":"https://daily.dev/sources/gitbutler"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/git-worktrees-and-gitbutler-qszz4nkpc","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"git,version-control","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"GitButler Blog","item":"https://daily.dev/sources/gitbutler"},{"@type":"ListItem","position":3,"name":"Git Worktrees and GitButler"}]}
```

