# \[4.7\] Git source control

**URL:** <https://forums.unrealengine.com/t/4-7-git-source-control/308980>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, editor, Source-Control, git, UE4, question\
**Created:** [March 3, 2015, 8:11pm UTC](https://forums.unrealengine.com/t/4-7-git-source-control/308980 "2015-03-03T20:11:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atemu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Atemu](https://forums.unrealengine.com/u/Atemu)\
**Post date:** [March 3, 2015, 8:11pm UTC](https://forums.unrealengine.com/t/4-7-git-source-control/308980/1 "2015-03-03T20:11:03Z")

</div>

Hello guys !

I was wondering if any of you would know how the new Git source control in UE 4 is working. I haven’t found any information about it on the documentation 😕

Thanks in advance !

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [March 3, 2015, 8:31pm UTC](https://forums.unrealengine.com/t/4-7-git-source-control/308980/2 "2015-03-03T20:31:47Z")

</div>

Hello

In order to use Source Control - Git within the Editor, you are going to need to make sure you’ve installed Git. Here is some documentation that we have regarding the Unreal Engine and Git Source Control.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

Have a wonderful day! 🙂

---

<div class="post-metadata">

**Author:** ![Atemu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Atemu](https://forums.unrealengine.com/u/Atemu)\
**Post date:** [March 6, 2015, 3:11pm UTC](https://forums.unrealengine.com/t/4-7-git-source-control/308980/3 "2015-03-06T15:11:47Z")

</div>

Hi !

Do I have to create a git repository manually before using the Git plugin ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [March 6, 2015, 3:43pm UTC](https://forums.unrealengine.com/t/4-7-git-source-control/308980/4 "2015-03-06T15:43:36Z")

</div>

Hey

Once you’re in the Editor, click on ‘Source Control’ and then select ‘Connect to Source Control’. Once you’ve done that, you choose to either use: None (no Source Control), Git, Subversion or Perforce. You are going to need to make sure any plugins required are downloaded and installed. You will also need to check and see if any prior set up will be needed. For instance, if you were using Perforce, you’d need to set up a workspace ahead of time.

This link may help you a bit more: [Using Source Control In The Unreal Editor | Unreal Engine 5.1 Documentation](https://docs.unrealengine.com/latest/INT/Engine/Basics/SourceControl/InEditor/index.html)

If you have any further questions, let me know!

Have fun!

---

<div class="post-metadata">

**Author:** ![SRombauts](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SRombauts](https://forums.unrealengine.com/u/SRombauts)\
**Post date:** [March 21, 2015, 4:50pm UTC](https://forums.unrealengine.com/t/4-7-git-source-control/308980/5 "2015-03-21T16:50:45Z")

</div>

Hi @ yes you have to create a Git repository manually before using the Git plugin!

(I would love to improve this in the future, but lacking the time to do it properly)

---

<div class="post-metadata">

**Author:** ![SRombauts](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SRombauts](https://forums.unrealengine.com/u/SRombauts)\
**Post date:** [November 20, 2016, 8:49pm UTC](https://forums.unrealengine.com/t/4-7-git-source-control/308980/6 "2016-11-20T20:49:31Z")

</div>

For anyone looking into this, there are a few new features to the Git plugin after the initial release in UE4.7:

1. Since UE4.8 the Git Plugin can create (init) a new repository for your project. It can also create a proper .gitignore file to it at the same time!
2. Since UE4.13 the Git Plugin can make the initial commit with a custom message (single line)

On the Git login screen, you have to select these option an **click ont the big “Initialize project with Git” button** before accepting settings.

I’ve updated [the wiki tutorial][1] to remove very old instruction (pre UE4.7 18 months ago) and add the above information.

Finally, I am working on a pull request to get an official Git Plugin documentation online 🙂

[A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums](https://wiki.unrealengine.com/Git_source_control_(Tutorial)#Setting_up_Git_Source_Control_in_Editor)
