Github + UE4

How to setup github for UE4 project.

The step is similar to setting up Github for Unity.

  1. On your local machine, create a blank UE4 project, using your preferred version, call it UE4_blank_verX. This will be your template. Don’t load or create anything new on this one.
  2. Create a folder for your project. Keep it empty for the time being.
  3. Go to your github account, create a new repository. I usually add readme file and gitignore file specific to Unreal Engine.
  4. From this new repository, click on the green Code<> button, and copy the https URL.
  5. Open SourceTree, click on + to open a new tab.
  6. Click on Clone, then paste the URL from step 3 into Source Path/URL field. For destination path, browse to the project folder created in step 2. For Name field, you can enter the project name. Hit Clone button once you’re set.
  7. You’re done! Do a pull just to make sure you have the latest file from Github.