Implement a feature that automatically initializes a Git repository and generates a .gitignore file when the uv init command is executed. This functionality should mirror the behavior of cargo new or cargo init --vcs in the Cargo package manager for Rust.
Implement a feature that automatically initializes a Git repository and generates a
.gitignorefile when theuv initcommand is executed. This functionality should mirror the behavior ofcargo neworcargo init --vcsin the Cargo package manager for Rust.