pub fn safe_clone_destination_basename(remote: &str) -> Option<String>Expand description
Derive a destination directory from a clone source when the user omitted one.
Returns None when the basename is missing or unsafe (/, ., ..,
empty, or still contains a path separator after stripping a trailing
.git).