The EGit project maintains two components:
JGit, a EDL/BSD licensed, lightweight, pure Java library implementing the Git version control file access routines, network protocols, and core version control algorithms.
EGit, an EPL licensed Eclipse Team provider built on top of JGit.