fix issues with git library names and parameter types

- fix some library names (and remove a compiler warning)
- fix an issue with a param being specified as `Uint8List` when either `Uint8List` or `String` are allowed

TBR, @gaurave