Add Repo.is-shallow, to see if it is a shallow clone.