Adapt to the JGit v4.5.x This version of JGit removes the 'release()' method in many interfaces and classes in favor of implementing the AutoCloseable interface. Change-Id: I32ddb5e9f5f1e7fa20e260b6cf63caed5eaf3f95