code: function getSHA() {
      const deferred = q.defer();
  
      exec('git rev-parse HEAD', function(error, stdout) {
        buildConfig.commit = stdout && stdout.toString().trim();
        deferred.resolve(buildConfig.commit);
      });
  
      return deferred.promise;
    }
docs: Git the SHA associated with the most recent commit on origin/master
  @returns {*}