Add runGitSync helper to replace repeated execFileSync(getGitExecutable(

Merged
40
6h ago
+34-61

Closes #449