Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE4 says i haven't installed git? source control

alt text

So, i am setting up source control and this error message pops up. What do i do? I have already installed GitHub desktop and set up a repository. Please help me if you can.

Product Version: UE 4.18
more ▼

asked May 19 '18 at 06:24 PM in Using UE4

avatar image

6 2 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

In order to use the Git plugin for source control you need to install this Git client:


Here's the wiki guide for setting it all up:


Hope that helps!

more ▼

answered May 19 '18 at 07:20 PM

avatar image

3.1k 74 34 148

avatar image ArkhamEngineer May 19 '18 at 07:57 PM
avatar image DotCam May 19 '18 at 08:02 PM

Did you install the Git client I mentioned (first link above)? The Github for windows app won't work, it needs that other client.

avatar image ArkhamEngineer May 19 '18 at 08:09 PM

yes I installed git, but i can't find where it installed to.

avatar image ArkhamEngineer May 19 '18 at 08:12 PM

It doesn't tell me where it uploaded to, and I try spotlight search, but it doesn't show up there either.

avatar image DotCam May 19 '18 at 08:15 PM

Here's what mine says:

C:\Program Files\Git\bin\git.exe

Put that into the path textbox and try again. Hopefully that works!

EDIT: Oh wait, are you on a mac?

avatar image ArkhamEngineer May 19 '18 at 08:16 PM

Are you on windows or mac? Because that doesn't work.

avatar image ArkhamEngineer May 19 '18 at 08:18 PM

Yep, I am on a mac. Do you think you can still help?

avatar image DotCam May 19 '18 at 08:25 PM

Looking it up, it appears to install to:


Either that or:


I am not positive about the extension used on a mac, probably not an exe file. Do you know the executable extension for a Mac? If so replace the exe in the filepath with the proper extension.

I'll keep looking to see if I can find the extension type needed.

avatar image ArkhamEngineer May 19 '18 at 08:28 PM

Thanks a bunch! I'll take a look

avatar image ArkhamEngineer May 19 '18 at 08:31 PM

ok, so this is REALLY weird. I've checked terminal and it says git is already running at the latest version. So why isn't unreal engine finding it, and why can't i find it?

avatar image DotCam May 19 '18 at 08:37 PM

Alright, couple more things to try. Check these folders:




Try typing:

which git


find / -name git


echo $PATH | sed "s/:/ /g" | xargs -L 1 ls | grep git

Into terminal, that should find the executable, hopefully at least! :)

avatar image ArkhamEngineer May 19 '18 at 08:43 PM

FOUND IT! alt text

So what should i do with what i have now?

avatar image DotCam May 19 '18 at 08:47 PM

Enter the path to where you found it, including "/git" at the end (if that git file you have highlighted has a file extension, make sure to add that to the end too) into the field in UE4 for the Git Patth

avatar image ArkhamEngineer May 19 '18 at 08:49 PM

I am crying tears of joy, It Worked! :0

avatar image ArkhamEngineer May 19 '18 at 08:49 PM

so now, do i just share the GitHub link to the repository with the developers?

avatar image DotCam May 19 '18 at 08:59 PM

Hooray!!! It worked!! haha I was beginning to lose hope, that's awesome though! :D

Yes, so long as they also have git installed of course. If you are wanting to merge code changes between developers, they should each fork the repository on Github to their own accounts, then download. Have them open the project on their PC, setup git just like we did here, and they will be pushing/pulling to/from their fork. Then use pull requests on Github to merge in the code as you see fit.

Does that answer your question?

avatar image ArkhamEngineer May 19 '18 at 09:04 PM

um, thats a bit complicated. what does fork mean? and also, they download the project i added, they then go through the same process that i went through? How do you use pull requests to merge the code?

Thank you so much for your help :)

avatar image DotCam May 19 '18 at 09:35 PM

In order to prevent errors when merging, each of your developers should have their own copy of the project "forked" into their account. You create a fork by going to your repository (which is the master repository) on their pc using their Gihub account, and then clicking the "Fork" button at the top right of the page.

A fork is a "local" copy of your repository that can be out of sync with the master repository, either ahead or behind, where each developer creates and tests new code. Once that code is ready to be added to the project, that developer would navigate to the master repository and click the "Create pull request" button. From there the developer should select their repo to compare against, check that there are no conflicts, and then submit the pull request (think of it as "merge request", it only contains changed files). Once submitted other developers can comment on it, make further changes, or just accept the request which will merge the changes into the master repo.

Now every other developer will be 1 commit behind the master repo, in order to fix that each developer should go to their own repo and create a pull request, this time working in reverse, which will merge the changes in the master repo back to their own repo.

Here's a couple articles on the Github site that has some good info:




I would recommend creating an organization in Github for your master repo, here's some info on that:


Organizations can have multiple users in them, this would allow multiple users to accept pull requests, create/edit/remove Issues, etc.

If you are unsure about any of this, create a small repository with nothing but text files and practice pulling changes you make in one repo, then accepting in the other.

Hope that helps!

avatar image DotCam May 19 '18 at 10:01 PM

In case this isn't obvious, most of what I just wrote should be done on the Github web page.

That is the best way to work with teams in UE4, but there is a hacky way of avoiding all the forks and pull requests. Create an organization, add all your developers to it, and then copy your current repo into that organization, then have each of your developers push commits directly to the project. If you have a small team, this might work ok. If 2 of you ever try and push a commit at the same time though your repo could get corrupted. Luckily Github allows you to roll back to a previous change though.

Personally I prefer the fork and pull method, especially for teams larger than 3-4 people, but it's up to you really. They both work.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question