Refactor types in git

Avoid usage of Uint8List wherever possible. This makes the git library code more consistent usage of dataType.

This cleanup was long due.

@ussuri  PTAL thanks.