docs: def _get_branch(self, remotes=False):
          '''
          Helper function to determine current branch
  
          :param remotes:
              List the remote-tracking branches
          '''
  
          return self.m(
              'getting git branch information',
              cmdd=dict(
                  cmd='git branch %s' % ('-r' if remotes else ''),
                  cwd=self.local
              ),
              verbose=False
          )