From Git hosting vendors, such as GitHub or Bitbucket Cloud, I receive answers like
The repositories themselves may not exceed 1GB in size — this is a technical limitation of Git
After downloading some assets from the marketplace, I noticed that the repository size of my UE 4 project was 2.14GB when using Git 2.12 and $ git count-objects -v command.
I faced the size limitation of Git.
In this situation, how should I manage my UE 4 project with Git?
Should I split the repository in two? (Like repo A: Blueprints + UE 4 project file + C/C++ codes, repo B: assets)
Well, I might be weird; after creating my UE4 project with the assets, the initial repository size was 2GB.
So I won’t receive noticeable advantage after trying that.
In this case, what can I do to decrease it?
Should I split the repository in two? (Like repo A: Blueprints + UE 4 project file + C/C++ codes, repo B: assets)
That’d get rid of the point of version control. You’ll want to include your assets. However, anything free of course has its limits.
Update: Try GitLab they’ve got 10GBs.
Make sure you aren’t commiting the DerivedDataCache, Intermediate, or Binaries folders; these right here can well exceed 1GB. DerivedDataCache and Intermediate are temporary and not required for a successful build.
$ git ls-files | grep Intermediate
# Nothing appeared
$ cat .gitignore
# Thanks to GitHub Desktop 3, this was already configured. Thanks for reminding me
# Compiled source files for the engine to use
Intermediate/*
# Cache files for the editor to use
DerivedDataCache/*
# Binary Files
Binaries/*
# ... and more
Thanks for telling me. I will try that right away.