I have a situation with a relatively large git repository located in a virtual machine on an elderly, slow host on my local network where it takes quite a while to do the initia
Use the depth to create a shallow clone.
git clone --depth 1