[REFACTOR] Begin replacing dependency on jgit with clean-room implementation.