You might find that in file bgit/src/main/java/edu/nyu/cs/javagit/api/JavaGitConfiguration.java
on line 83
you want to use "File.separator" rather than pathSeparator
Also on line 139 as well.
It would be nice if you checked for OS and suffixed Git with nothing or .exe