You'll notice
The directory-change safety warning before a version-control command now covers more than just git
What
Claude Code warns when a compound terminal command changes directory and then runs a version-control tool, because that pattern can pick up untrusted hooks or repository settings from the new directory. This warning previously mentioned git specifically; it now applies its wording generally to any version-control command, not just git.
Why
This ensures the same protection and warning message applies consistently across different version-control tools, not just git.