use Path;
use Result;
use git;
use crateTrimAsciiWhitespace;
/// Get the default branch name from Git config's `init.defaultBranch` setting,
/// falling back to 'master' if it isn't set. This should help handle default
/// branch names that are more awoke.