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
.gitignore
file when theuv init
command is executed. This functionality should mirror the behavior ofcargo new
orcargo init --vcs
in the Cargo package manager for Rust.