Remove of all libgit2 related files.

re #6465
Remove the old dependency on gitscriptrepository

re #6465
Merge remote branch 'origin/feature/6465_purge_libgit2'