private int executeNativeGit(final String... cmd) throws IOException,
			InterruptedException {
		final Process p = Runtime.getRuntime().exec(cmd, null,
				this.repoRoot.toFile());
		final BufferedReader rOut = new BufferedReader(new InputStreamReader(
				p.getInputStream()));
		final BufferedReader rErr = new BufferedReader(new InputStreamReader(
				p.getErrorStream()));
		final int exit = p.waitFor();
		while (true) {
			final String line = rOut.readLine();
			if (line == null) {
				break;
			}
			System.out.println(line);
		}
		while (true) {
			final String line = rErr.readLine();
			if (line == null) {
				break;
			}
			System.err.println(line);
		}
		return exit;
	}