Remove of all libgit2 related files.

re #6465
Remove the old dependency on gitscriptrepository

re #6465
Merge branch 'feature/6465_purge_libgit2' into develop