# How to use the Sage Git and merge new Versions with themes

**URL:** https://discourse.roots.io/t/how-to-use-the-sage-git-and-merge-new-versions-with-themes/3264
**Category:** archived 🗄
**Created:** 2015-03-17T13:22:02Z
**Posts:** 6

## Post 1 by @jibazee — 2015-03-17T13:22:02Z

Until now

1. I cloned the Roots/Sage git
2. deleted the .git directory and
3. git init a new repository.

Is this the way to go, or should I somehow pull changes in Sage’s Github Git in my theme?  
I’m not a git expert…

Regards,  
Gabriel

---

## Post 2 by @swalkinshaw — 2015-03-17T16:26:03Z

That’s fine in general. You can add our Github repo as an upstream remote and use it for updates.

See here [http://gitready.com/intermediate/2009/02/12/easily-fetching-upstream-changes.html](http://gitready.com/intermediate/2009/02/12/easily-fetching-upstream-changes.html)

---

## Post 3 by @jibazee — 2015-03-19T03:21:08Z

Thanks. I’ll try on a demo project first…

---

## Post 4 by @jibazee — 2015-03-19T14:40:53Z

Removed different subject.

---

## Post 5 by @btamm — 2015-06-15T21:49:40Z

I am using Bedrock and Sage.

My plan is to develop locally and then deploy via capistrano.

Question - In setting up to start developing, should my git repository be at the root of the bedrock directory or just the ‘/app’

---

## Post 6 by @fullyint — 2015-06-17T04:39:51Z

@btamm I’m no pro with git strategy, but I’d say you can do it any way you have a good reason to do it. For me, the good reason for the repo to include the root of the bedrock directory is to capture the ongoing updates to everything there, one example being the dependencies listed in the composer.json file. I’m not aware of anyone making their repo just the `app` directory.

Consider creating your new repo like like [https://github.com/roots/roots-example-project.com/](https://github.com/roots/roots-example-project.com/) which integrates sage, bedrock, and bedrock-ansible. If you’re set on using capistrano, you’d have to customize it a bit.

There are a bunch of discourse discussions on the topic of git strategy with roots projects. Maybe you’ve already searched them out.

---

## Post 7 by @ben — 2022-02-26T03:20:02Z


