upgraded to libgit2 v0.21.1

@scunz Could you please check especially the change to using `git_buf` in pathes. Otherwise everything should be fine now :smile:.

Again for the `git_buf` I'd like to use a QScopedPointer. But it would need to implement the custom destructor. Ok?