I code should be something like this:

public void gitCommands() throws IOException {

   // Build command 
   List&lt;String&gt; commands = new ArrayList&lt;String&gt;();
   commands.add("/bin/bash");
   commands.add("-c");
   commands.add("git add .");       

   StringBuilder out = new StringBuilder();

   ProcessBuilder pb = new ProcessBuilder(commands);
   pb.redirectErrorStream(true);
   process process = pb.start();


   //EDIT:
   // get Exit Status   
   process.waitFor();


   //go for next commands
   .....

}


How could I launch the sequence of git commands from java application?
In the original series, how many shuttlecraft made up the normal complement aboard the U.S.S. Enterprise NCC-1701? The numbering convention I found on Memory Alpha goes up to NCC-1701/12, listing both active and destroyed, with the Galileo accounting for 3 of the 10 shown. How many were supposed to be onboard? 
