code: def tag(self, label, message=None):
          
          options = ' -m "{}" -a'.format(message) if message else ''
          self.run_elective('git tag{} "{}"'.format(options, label))
docs: Tag the current workdir state.