make blob text type stable
bump libgit submodule
remove api.libgit library reference
remove redundant NULL checks