# How do you Keep your source build in sync with the latest release on github?

**URL:** <https://forums.unrealengine.com/t/how-do-you-keep-your-source-build-in-sync-with-the-latest-release-on-github/40902>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [September 6, 2015, 9:04am UTC](https://forums.unrealengine.com/t/how-do-you-keep-your-source-build-in-sync-with-the-latest-release-on-github/40902 "2015-09-06T09:04:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Commander\_Shepard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Commander\_Shepard](https://forums.unrealengine.com/u/Commander_Shepard)\
**Post date:** [September 6, 2015, 9:04am UTC](https://forums.unrealengine.com/t/how-do-you-keep-your-source-build-in-sync-with-the-latest-release-on-github/40902/1 "2015-09-06T09:04:22Z")

</div>

Exactly what the question states.

**How do you Keep your source build in sync with the latest release on github?**

Say you got source and dependencies for 4.9 built it and started using it, and after sometime 4.10 comes out then how do you update your current sources to 4.10 using git?

Or is completely new build is better than updating? if it is then whats the purpose of using version control?

I want to learn and do some custom stuff in the engine like calling java api in android etc, So I want to build the engine from source but I have 4.8 sources.

---

<div class="post-metadata">

**Author:** ![Nate](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nate](https://forums.unrealengine.com/u/Nate)\
**Post date:** [September 6, 2015, 9:56am UTC](https://forums.unrealengine.com/t/how-do-you-keep-your-source-build-in-sync-with-the-latest-release-on-github/40902/2 "2015-09-06T09:56:58Z")

</div>

Personally I almost always rebase my engine modification branch to latest stable build.

e.g.

```auto

git fetch upstream
git checkout my-engine-modification-branch
git rebase upstream/4.9

```
