Setup Git & LFS (5 Mins)
Stop emailing zip files. This guide sets up a robust Git workflow with LFS (Large File Storage) support, which is mandatory for Unreal binary assets.
Step 1: Install GitHub Desktop
Download and install GitHub Desktop. It provides a visual interface for Git management.
Step 2: Create the Repo
In GitHub Desktop: File > New Repository.
Name: MyGame
Local Path: Choose a folder on your SSD.
Git Ignore: Select UnrealEngine. (Crucial step!)
Click Create Repository.
Step 3: Enable LFS (Large File Storage)
Unreal assets are binaries. Git needs LFS to handle them.
In GitHub Desktop: Repository > Show in Explorer.
Create a text file named .gitattributes.
Paste this configuration into it:
code Text
*.uasset filter=lfs diff=lfs merge=lfs -text *.umap filter=lfs diff=lfs merge=lfs -text *.upk filter=lfs diff=lfs merge=lfs -text *.fbx filter=lfs diff=lfs merge=lfs -text *.png filter=lfs diff=lfs merge=lfs -textCommit this file: "Setup LFS".
Click Publish Repository.
Step 4: Connect Unreal
Move your .uproject and Content folder into this new repository folder.
Open Unreal Engine.
Source Control (Bottom Right) -> Connect.
Select Git (Beta).
You are now ready to use SafeSave.
Last updated
