code: def get_git_repositories_activity_metrics(self, project, from_date, aggregation_type, skip, top):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          query_parameters = {}
          if from_date is not None:
              query_parameters['fromDate'] = self._serialize.query('from_date', from_date, 'iso-8601')
          if aggregation_type is not None:
              query_parameters['aggregationType'] = self._serialize.query('aggregation_type', aggregation_type, 'str')
          if skip is not None:
              query_parameters['$skip'] = self._serialize.query('skip', skip, 'int')
          if top is not None:
              query_parameters['$top'] = self._serialize.query('top', top, 'int')
          response = self._send(http_method='GET',
                                location_id='df7fbbca-630a-40e3-8aa3-7a3faf66947e',
                                version='5.0-preview.1',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('[RepositoryActivityMetrics]', self._unwrap_collection(response))
docs: GetGitRepositoriesActivityMetrics.
          [Preview API] Retrieves git activity metrics for repositories matching a specified criteria.
          :param str project: Project ID or project name
          :param datetime from_date: Date from which, the trends are to be fetched.
          :param str aggregation_type: Bucket size on which, trends are to be aggregated.
          :param int skip: The number of repositories to ignore.
          :param int top: The number of repositories for which activity metrics are to be retrieved.
          :rtype: [RepositoryActivityMetrics]