If the problem is really with a big history... I guess it can be solved cloning the repo with an specific deep. The parameter is --deep. For example:
git clone --deep=100
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.