pub fn is_git_dir(string: &str) -> bool
Expand description

Return true if string ends in “.git”. This is used to detect bare repositories.