Use libgit2 to check clean working tree
tree3ad60d968bc2319028e757d78ae23769c454054b
-rw-r--r-- 429 .gitignore
-rw-r--r-- 872 .gitmodules
-rw-r--r-- 224 .mailmap
-rw-r--r-- 256 .tgitconfig
drwxr-xr-x - Languages
-rw-r--r-- 2439 build.txt
drwxr-xr-x - contrib
drwxr-xr-x - doc
drwxr-xr-x - ext
-rw-r--r-- 952 release.txt
drwxr-xr-x - src
drwxr-xr-x - test