Bump git2
and remove dependency on cmake
#1663
Merged
git2
and remove dependency on cmake
#1663