Seems you are using Windows. If you use the swipl-win.exe console, process output to stderr is lost. I would also connect that to a pipe and read it. That might give a hint on what is wrong.
For a demo, that is good enough. For real code code you must close the streams and if you read both output and error you need to read them in different threads to avoid that the process suspends because you are not reading its output. library(git) gives some more elaborate wrappers around the (git) process.
Thank you for your advise!
I’ve read the stderr output & found the bug.
There was a path missing for the Anaconda Library in my Windows 10 path variables.