code: function getEnvIdFromBranch () {
    try {
      let branch = sh.exec('git status', {
        silent: true
      }).stdout
      if (!branch || _.includes(branch, 'fatal:')) {
        return
      }
      branch = branch.split('\n')[0]
      branch = branch.replace(/^#?\s?On branch ((\w|-|_|\/|.)+)/, '$1')
      if (config.branchRegex) {
        branch = branch.replace(new RegExp(_.trim(config.branchRegex)), '$1')
      }
      return _.trimEnd(_.truncate(branch, {
        length: 13,
        omission: ''
      }), '-')
    } catch (e) {
      console.log('ERR: ', e)
    }
  }
docs: loadYamlConfig([]) console.log('Load config (default):', loadYamlConfig()) console.log('Load config (file):', loadYamlConfig('config/basic.yml')) console.log('Load config (dir):', loadYamlConfig('config')) console.log('Load config (file + dir):', loadYamlConfig(['config', 'config.yml'])) 
  Get EnvId from branch
  
  @returns {string}