# Source Control: Error Project is not part of a Git working copy

**URL:** <https://forums.unrealengine.com/t/source-control-error-project-is-not-part-of-a-git-working-copy/310709>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 12, 2015, 8:19pm UTC](https://forums.unrealengine.com/t/source-control-error-project-is-not-part-of-a-git-working-copy/310709 "2015-03-12T20:19:06Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiftone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shiftone](https://forums.unrealengine.com/u/shiftone)\
**Post date:** [March 12, 2015, 8:19pm UTC](https://forums.unrealengine.com/t/source-control-error-project-is-not-part-of-a-git-working-copy/310709/1 "2015-03-12T20:19:06Z")

</div>

I’m having an issue adding my project to GitHub, I’m doing the following;

Source Control \> Connect to Source Control,

Provider: Git (beta version)

Git Path: C:\Users\shane\AppData\Local\GitHub\PortableGit\_c2ba306e536fdf878271f7fe636a147ff37326ad\bin\git.exe

Then clicking Accept Settings gives me the following error

“Source Control: Error Project is not part of a Git working copy.”

What am I doing wrong?

Im useing v4.7.2 which includes the GIT plugin.

---

<div class="post-metadata">

**Author:** ![anon56136319](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon56136319](https://forums.unrealengine.com/u/anon56136319)\
**Post date:** [March 13, 2015, 6:32pm UTC](https://forums.unrealengine.com/t/source-control-error-project-is-not-part-of-a-git-working-copy/310709/2 "2015-03-13T18:32:20Z")

</div>

Hello,

Go to your project folder and open the Command Line.

Type `git init` and press enter, that should fix it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ded9d8ce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ded9d8ce](https://forums.unrealengine.com/u/anonymous_user_ded9d8ce)\
**Post date:** [June 4, 2015, 3:00am UTC](https://forums.unrealengine.com/t/source-control-error-project-is-not-part-of-a-git-working-copy/310709/3 "2015-06-04T03:00:56Z")

</div>

Ok, I’m having the same problem but i cannot get “git init” to work. I have git downloaded and installed, so what am I doing wrong?

---

<div class="post-metadata">

**Author:** ![anon56136319](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon56136319](https://forums.unrealengine.com/u/anon56136319)\
**Post date:** [June 4, 2015, 3:50am UTC](https://forums.unrealengine.com/t/source-control-error-project-is-not-part-of-a-git-working-copy/310709/4 "2015-06-04T03:50:01Z")

</div>

Hi Pyros! When you type `git init` what message appears afterwards?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ded9d8ce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ded9d8ce](https://forums.unrealengine.com/u/anonymous_user_ded9d8ce)\
**Post date:** [June 4, 2015, 4:11pm UTC](https://forums.unrealengine.com/t/source-control-error-project-is-not-part-of-a-git-working-copy/310709/5 "2015-06-04T16:11:30Z")

</div>

Nothing, which is absolutely infuriating.

---

<div class="post-metadata">

**Author:** ![anon56136319](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon56136319](https://forums.unrealengine.com/u/anon56136319)\
**Post date:** [June 4, 2015, 4:35pm UTC](https://forums.unrealengine.com/t/source-control-error-project-is-not-part-of-a-git-working-copy/310709/6 "2015-06-04T16:35:35Z")

</div>

Not even “Initialized empty Git repository”?

When you installed git, did you checked the option “Run Git from the Windows Command Prompt”?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ded9d8ce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ded9d8ce](https://forums.unrealengine.com/u/anonymous_user_ded9d8ce)\
**Post date:** [June 4, 2015, 7:20pm UTC](https://forums.unrealengine.com/t/source-control-error-project-is-not-part-of-a-git-working-copy/310709/7 "2015-06-04T19:20:12Z")

</div>

I believe so , yes. it is the first option of the three available, yes??? is there a way to check/change that particular setting???

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ded9d8ce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ded9d8ce](https://forums.unrealengine.com/u/anonymous_user_ded9d8ce)\
**Post date:** [June 4, 2015, 7:27pm UTC](https://forums.unrealengine.com/t/source-control-error-project-is-not-part-of-a-git-working-copy/310709/8 "2015-06-04T19:27:10Z")

</div>

Never mind. i decided to do some tinkering with git and I found the “Create repository” and set it up manually from the Git GUI. Thanks for putting up with a complete newb 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ded9d8ce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ded9d8ce](https://forums.unrealengine.com/u/anonymous_user_ded9d8ce)\
**Post date:** [June 4, 2015, 10:08pm UTC](https://forums.unrealengine.com/t/source-control-error-project-is-not-part-of-a-git-working-copy/310709/9 "2015-06-04T22:08:01Z")

</div>

ok, seam to have a new problem. now that i have everything set up, or at least I think I do, i don’t know how to share it with the rest of my team. i have heard about branches and forks but have no idea what they do, and the “tutorials” make no flipping sense what so ever!!! (I’ll be so glad when i’m no longer a newb) What would you suggest for sharing my game with say…4+ people???
