 {
     gitDropChanges(path)
     let output = shell(["cd \(path)",
-        "git checkout /\(branch)"])
+        "\(gitPath) checkout /\(branch)"])
     print(output)
     return (output.status == 0)
 }

    
    let data = pipe.fileHandleForReading.readDataToEndOfFile()
    let output: String = NSString(data: data, encoding: NSUTF8StringEncoding)! as String
    
    return (output: output, status: task.terminationStatus)
}


import Foundation
import CoreFoundation

private var gitPath = "/usr/bin/git"

private func shell(arguments: [String]) -> (output: String, status: Int32)
{
