It’s 4.6 GB on disk after a full git clone, most of that is precompiled binaries for multiple platforms- and then all the versions of those back in git history.
Could it be integrated in Gazebo?