Use libgit2 to check whether a file is newly added or not
tree1380964a3110e28bf1613f2a10398bf7ac733532
-rw-r--r-- 600 .gitignore
-rw-r--r-- 975 .gitmodules
-rw-r--r-- 639 .mailmap
-rw-r--r-- 231 .tgitconfig
drwxr-xr-x - Languages
-rw-r--r-- 3974 README.md
-rw-r--r-- 3112 appveyor.yml
-rw-r--r-- 6137 architecture.txt
-rw-r--r-- 2998 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