exec git init
exec git config user.email "you@example.com"
exec git config user.name "Your Name"
exec git add -A
exec lefthook install
exec git commit -m 'test'
stderr '\s*Hi there from Lefthook\s*'

-- lefthook.json --
{
  "output": [
    "execution"
  ],
  "pre-commit": {
    "commands": {
      "echo": {
        "run": "echo Hi there from Lefthook"
      }
    }
  }
}
