Without any preparations JGit defaults to read system / user / project configuration from local file system. Users running tests locally might see test failures due to their config diverging from the test author config. For me JGitEnvironmentRepositoryIntegrationTests.pullDirtyRepo() was constantly failing, because JGit calculated a different hash for the created commit than on the build server.