Use '--single-branch' option when git cloning to reduce space usage.