Patch for running with git