fix git tests

Dartium changed from `Uint8List` implementing `ByteBuffer` to it not implementing it. This fixes a git test related to this change.

Also, some typed mode issues that I encountered when switching branches in CDE. Basically, casting `Iterable<String>` to `List<String>`.

@gaurave