code: def get_branches(self, project=None, include_parent=None, include_children=None, include_deleted=None, include_links=None):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          query_parameters = {}
          if include_parent is not None:
              query_parameters['includeParent'] = self._serialize.query('include_parent', include_parent, 'bool')
          if include_children is not None:
              query_parameters['includeChildren'] = self._serialize.query('include_children', include_children, 'bool')
          if include_deleted is not None:
              query_parameters['includeDeleted'] = self._serialize.query('include_deleted', include_deleted, 'bool')
          if include_links is not None:
              query_parameters['includeLinks'] = self._serialize.query('include_links', include_links, 'bool')
          response = self._send(http_method='GET',
                                location_id='bc1f417e-239d-42e7-85e1-76e80cb2d6eb',
                                version='5.0',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('[TfvcBranch]', self._unwrap_collection(response))
docs: GetBranches.
          Get a collection of branch roots -- first-level children, branches with no parents.
          :param str project: Project ID or project name
          :param bool include_parent: Return the parent branch, if there is one. Default: False
          :param bool include_children: Return the child branches for each root branch. Default: False
          :param bool include_deleted: Return deleted branches. Default: False
          :param bool include_links: Return links. Default: False
          :rtype: [TfvcBranch]