'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = getGitExecutablePath;

var _globalConfig;

function _load_globalConfig() {
  return _globalConfig = require('../../api/consumer/lib/global-config');
}

var _constants;

function _load_constants() {
  return _constants = require('../../constants');
}

function getGitExecutablePath() {
  var executablePath = (0, (_globalConfig || _load_globalConfig()).getSync)((_constants || _load_constants()).CFG_GIT_EXECUTABLE_PATH);
  return executablePath || 'git';
}