🚀 Our inaugural State of Local Development and Testing report is live! Explore insights & best practices now

Documentation

Java

Community Modules

These modules are maintained by the community, outside of the Testcontainers project.

Description

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Examples

var gitServer = 
      new GitServerContainer(DockerImageName.parse("rockstorm/git-server:2.38"))
              .withGitRepo("testRepo") // overwrite the default git repository name
              .withGitPassword("12345"); // overwrite the default git password
gitServer.start();