Thanks to visit codestin.com Credit goes to libgit2.org
Determine if the repository was a shallow clone
The repository
1 if shallow, zero if not