Add method is_shallow to determine if the repository was a shallow clone