Thanks to visit codestin.com Credit goes to libgit2.org
Check if a repository is a linked work tree
Repo to test
1 if the repository is a linked work tree, 0 otherwise.