add dept to jgit; fix api incompatibility