code: function gitCurrentBranch() {
    return git('status --porcelain -b', stdout => {
      const status = gitUtil.extractStatus(stdout);
      return status.branch.split('...')[0];
    });
  }
docs: Get the current branch.
  @return {promise}    A promise get the current branch,