getGit method
Implementation
GitCommands getGit(AlexConfig config, {bool isDemo = false}) {
final gitConfig = config.git;
final Git gitClient;
if (!isDemo) {
gitClient = GitClient();
} else {
gitClient = DemoGit(verbose: isVerbose);
}
return GitCommands(gitClient, gitConfig);
}