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