bump libgit2 version to v0.21.2
change vendor submodule to v0.21.2
remove mutating an immutable hack