 
   @checkoutSide: (sideName, filepath, callback) ->
     proc = @process({
-      command: @_gitCommand(),
+      command: GitCmd,
       args: ['checkout', "--#{sideName}", filepath],
       options: { cwd: @_repoWorkDir() },
       stdout: (line) -> console.log line

        handler(new Error("abnormal git exit: #{code}\n" + errMessage.join("\n")), null)

    proc = @process({
      command: @_gitCommand(),
      args: ['status', '--porcelain'],
      options: { cwd: @_repoWorkDir() },
      stdout: stdoutHandler,


  @add: (filepath, callback) ->
    @process({
      command: GitCmd,
      args: ['add', filepath],
      options: { cwd: @_repoWorkDir() },
      stdout: (line) -> console.log line
