git lab git hooks code example Example 1: git worktree git worktree add <path> <branch> Example 2: git hooks chmod +x prepare-commit-msg