Deduplicate code to read .git file
tree328fa1e07416216527f5dc7f67a390b534f74b7f
-rw-r--r-- 429 .gitignore
-rw-r--r-- 881 .gitmodules
-rw-r--r-- 224 .mailmap
-rw-r--r-- 256 .tgitconfig
drwxr-xr-x - Languages
-rw-r--r-- 714 appveyor.yml
-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