do a shallow clone of the git repository