         handler(new Error("abnormal git exit: #{code}\n" + errMessage.join("\n")), null)
 
     proc = @process({
-      command: @_gitCommand(),
+      command: GitCmd,
       args: ['status', '--porcelain'],
       options: { cwd: @_repoWorkDir() },
       stdout: stdoutHandler,


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

class GitNotFoundError extends Error

  constructor: (message) ->
    @name = 'GitNotFoundError'
    super(message)


GitCmd = null


class GitBridge

