CE-1985: Fetch tags and commits only from the default branch
Commit and tag fetching has been modified so, we are retrieving commits and tags only from the default branch of the repository. To test the modification, I would recommend to test with that repo: https://gitlab.esss.lu.se/ccce/dev/iocs/instances/lab-deployment-test-ioc bacause it has multiple commits and tags which are not present in its default branch.
Endpoint to test: [Git] /api/v1/git_helper/{project_id}/tags_and_commits
The project ID is: 4126