Shallow clone would make the staging faster

Unless you have reasons for including the repo history, a shallow clone should speed up staging.