Added GITERR_CHECK_ALLOC