autoCommitPluginMod runs `git status --porcelain plugin.mod` then commits if dirty. Add two cases: dirty plugin.mod produces an "Add plugin.mod" commit, and a clean state leaves HEAD unchanged. Uses t.Chdir to scope CWD to the temp repo without polluting parent state.