First commit of a large project

I have a moderately large project (~2 GB) and it does have some not recommended over 50MB files (maybe 3-4). after many days of trying to commit it for the first time to a repo and getting the “RPC error” when pushing, I finally had to break it up manually myself and commit it in and 3 different pushes.

Is there any other more simple, less error-prone way to get a large project initially pushed without manually breaking it up?

Thanks,

-Shawn