code: def branch(options=False, *args, **kwargs):
      
      return (options
              and run('branch %s' % options, *args, **kwargs)
              or rev_parse('--abbrev-ref HEAD', *args, **kwargs))
docs: Run "$ git branch" with those options
  
      If not options then return name of the branch currently checked out