docs: def set_version(self, version, force=True):
          """ Sets the version name for the current state of repo """
  
          if version in self.versions:
              self._version = version
              if 'working' in self.repo.branch().stdout:
                  if force:
                      logger.info('Found working branch. Removing...')
                      cmd = self.repo.checkout('master')
                      cmd = self.repo.branch('working', d=True)                    
                  else:
                      logger.info('Found working branch from previous session. Use force=True to remove it and start anew.')
                      return
  
              stdout = self.repo.checkout(version, b='working').stdout  # active version set in 'working' branch
              logger.info('Version {0} set'.format(version))
          else:
              raise AttributeError('Version {0} not found'.format(version))