Change gitAddChar to gitAddByte due to changes in API