@Override
 public void remoteAdd(RemoteAddRequest request) throws GitException {
   nativeGit
       .createRemoteAddCommand()
       .setName(request.getName())
       .setUrl(request.getUrl())
       .setBranches(request.getBranches())
       .execute();
 }
 @Override
 public void remoteAdd(RemoteAddRequest request) throws GitException {
   ensureExistenceRepoRootInWorkingDirectory();
   nativeGit
       .createRemoteAddCommand()
       .setName(request.getName())
       .setUrl(request.getUrl())
       .setBranches(request.getBranches())
       .execute();
 }