is this really the size when excluding all files that should not be put into repository?
Foe example: Unity folder for my project is about 2 GB but only only thing I really need to put in git is Assets folder which is only around 10 MB.
Don't know what tools you are using or how you set up you .gitignore file.