config = git.getRepository().getConfig();
unsetConfig( config );
config.setString( "user", null, "name", "dbartholdi" );
config.setBoolean( JGitCheckInCommand.GIT_MAVEN_SECTION, null, JGitCheckInCommand.GIT_FORCE, true );
config.setString( JGitCheckInCommand.GIT_MAVEN_SECTION, null, JGitCheckInCommand.GIT_MAILDOMAIN, "anycomp.com" );
config.save();
// make a change with an user on the commandline
createAndCommitFile( fooJava, "dude" );
// check new commit is done with new maven user in config