# Branching / merging docs like in Git

**URL:** <https://connect.superhuman.com/t/branching-merging-docs-like-in-git/20720>\
**Category:** Ask the Community\
**Created:** [January 13, 2021, 3:32pm UTC](https://connect.superhuman.com/t/branching-merging-docs-like-in-git/20720 "2021-01-13T15:32:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikil\_Ragav](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/nikil_ragav/32/16570_2.png) [@Nikil\_Ragav](https://connect.superhuman.com/u/Nikil_Ragav)\
**Post date:** [January 13, 2021, 3:32pm UTC](https://connect.superhuman.com/t/branching-merging-docs-like-in-git/20720/1 "2021-01-13T15:32:26Z")

</div>

Is there a way to branch and merge Coda docs like you can with files in Git?

I know there is the Coda history, and that when I restore a previous version it makes a copy of the doc.

My usecase is I have a doc that I make for several of my clients, populated with their info. Occasionally there’s a new table or formula or feature that I add for someone, and I want to be able to merge that back into my default template.

---

<div class="post-metadata">

**Author:** ![Piet\_Strydom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/piet_strydom/32/19269_2.png) [@Piet\_Strydom](https://connect.superhuman.com/u/Piet_Strydom)\
**Post date:** [January 15, 2021, 5:55am UTC](https://connect.superhuman.com/t/branching-merging-docs-like-in-git/20720/2 "2021-01-15T05:55:02Z")

</div>

Ooh, that would be nice… 😉

---

<div class="post-metadata">

**Author:** ![Johg\_Ananda](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/johg_ananda/32/13930_2.png) [@Johg\_Ananda](https://connect.superhuman.com/u/Johg_Ananda)\
**Post date:** [January 15, 2021, 1:45pm UTC](https://connect.superhuman.com/t/branching-merging-docs-like-in-git/20720/3 "2021-01-15T13:45:46Z")

</div>

related:

> [@How to link to a page in a doc that will persist in a copy?](https://connect.superhuman.com/t/how-to-link-to-a-page-in-a-doc-that-will-persist-in-a-copy/20763):
>
> I have a doc template where I link to another page in the doc. When I make a copy of the doc, the new doc’s link points back to the prior (which makes sense). Is there a way to pick apart the url to make it dynamically go to the new doc’s page?

---

<div class="post-metadata">

**Author:** ![Franck\_Genissel](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/franck_genissel/32/6449_2.png) [@Franck\_Genissel](https://connect.superhuman.com/u/Franck_Genissel)\
**Post date:** [January 15, 2021, 4:25pm UTC](https://connect.superhuman.com/t/branching-merging-docs-like-in-git/20720/4 "2021-01-15T16:25:51Z")

</div>

Yes I have the same use cases 👍🏻

---

<div class="post-metadata">

**Author:** ![Piet\_Strydom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/piet_strydom/32/19269_2.png) [@Piet\_Strydom](https://connect.superhuman.com/u/Piet_Strydom)\
**Post date:** [January 16, 2021, 4:53am UTC](https://connect.superhuman.com/t/branching-merging-docs-like-in-git/20720/5 "2021-01-16T04:53:01Z")

</div>

How did you make that link? Did you copy the URL, or did you link to the table/page itself?

What seemed to be the case for me is that the URL will persist with the old doc. while creating a reference using the table/view/page will keep the reference internal to the doc.

---

<div class="post-metadata">

**Author:** ![Johg\_Ananda](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/johg_ananda/32/13930_2.png) [@Johg\_Ananda](https://connect.superhuman.com/u/Johg_Ananda)\
**Post date:** [January 16, 2021, 12:06pm UTC](https://connect.superhuman.com/t/branching-merging-docs-like-in-git/20720/6 "2021-01-16T12:06:44Z")

</div>

I’m putting the link text into a cell. You’re suggesting if I use the control-K ‘native’ link to a page it will persist? That would be great. I’ll try it.

---

<div class="post-metadata">

**Author:** ![Piet\_Strydom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/piet_strydom/32/19269_2.png) [@Piet\_Strydom](https://connect.superhuman.com/u/Piet_Strydom)\
**Post date:** [January 16, 2021, 6:44pm UTC](https://connect.superhuman.com/t/branching-merging-docs-like-in-git/20720/7 "2021-01-16T18:44:12Z")

</div>

Didn’t know it was control-K, but yes. My new thing for the day!.
