---
title: "Discussion on \"How I Work on Four Git Branches at the Same Time\" | Hashnode"
description: "Discussion on \"How I Work on Four Git Branches at the Same Time\". Git Worktrees Explained: What They Are and Why They Exist"
url: "https://hashnode.com/posts/how-i-work-on-four-git-branches-at-the-same-time/6a422a88496ec199f7af9c40"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I Work on Four Git Branches at the Same Time](https://blog.akananthu.com/how-i-work-on-four-git-branches-at-the-same-time?utm_source=hashnode&utm_medium=feed)

Git Worktrees Explained: What They Are and Why They Exist

Jun 29 · 7 min read · blog.akananthu.com  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#git-worktree](https://hashnode.com/tag/git-worktree)
-   [#version-control](https://hashnode.com/tag/version-control)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)
-   [#opensource](https://hashnode.com/tag/opensource)
-   [#devtips](https://hashnode.com/tag/devtips)
-   [#engineering](https://hashnode.com/tag/engineering)

## Written by

[Ananthakrishnan A](https://hashnode.com/@akanandhu)

@akanandhu · India

  
[View profile](https://hashnode.com/@akanandhu)

Fullstack Engineer (Frontend heavy)

3+ years of experience as a Full Stack Developer with a focus on Next.js, React-Native, and Node.js, helping startups and businesses build scalable MVPs in record time. Passionate about transforming ideas into high-performance web and mobile applications with clean, efficient code.

## Responses 8

Markdown supported · ⌘↵ to post

[abhishek pareek](https://hashnode.com/@abhishek-pareek)

[Jun 30](https://hashnode.com/posts/how-i-work-on-four-git-branches-at-the-same-time/6a422a88496ec199f7af9c40/comment/6a44328000aa7e193c9cbac2)

Chatgpt, right? :D

[Jeffrey Cruz](https://hashnode.com/@jeffcruz)

[Jul 1](https://hashnode.com/posts/how-i-work-on-four-git-branches-at-the-same-time/6a422a88496ec199f7af9c40/comment/6a44328000aa7e193c9cbac2#reply-6a4459768d884b8f48dcce32)

Actually, it comes from his experience.

[stitas](https://hashnode.com/@stitas)

[Jun 30](https://hashnode.com/posts/how-i-work-on-four-git-branches-at-the-same-time/6a422a88496ec199f7af9c40/comment/6a43f84d25524f2fc0c483d6)

At work I very often struggle with this. One time I accidentally dropped my uncommitted changes and had to start from scratch :D. Will start using git worktress for sure. Thanks for the article!

[Ananthakrishnan A](https://hashnode.com/@akanandhu)

[Jun 30](https://hashnode.com/posts/how-i-work-on-four-git-branches-at-the-same-time/6a422a88496ec199f7af9c40/comment/6a43f84d25524f2fc0c483d6#reply-6a44088af378371b378ef395)

Haha, I think most of us have learned that lesson the hard way 😄 Give worktrees a try for a week. I bet they'll become part of your daily workflow. Let me know how it goes!

[Sarthak Pranesh](https://hashnode.com/@sarthakpranesh)

[Jun 29](https://hashnode.com/posts/how-i-work-on-four-git-branches-at-the-same-time/6a422a88496ec199f7af9c40/comment/6a429e8773542ac57fef4e13)

Nice read 💯

[Ananthakrishnan A](https://hashnode.com/@akanandhu)

[Jun 30](https://hashnode.com/posts/how-i-work-on-four-git-branches-at-the-same-time/6a422a88496ec199f7af9c40/comment/6a429e8773542ac57fef4e13#reply-6a43e74416416b93862be3ef)

Thanks Sarthak.

[Chidinma Okwuoha](https://hashnode.com/@Chidinma02)

[Jun 29](https://hashnode.com/posts/how-i-work-on-four-git-branches-at-the-same-time/6a422a88496ec199f7af9c40/comment/6a426f06db3f93e8e454f43d)

I enjoyed reading this

[Ananthakrishnan A](https://hashnode.com/@akanandhu)

[Jun 29](https://hashnode.com/posts/how-i-work-on-four-git-branches-at-the-same-time/6a422a88496ec199f7af9c40/comment/6a426f06db3f93e8e454f43d#reply-6a427d4f57fb608754677dd2)

Glad to hear that
