Which GitLab branching option deals with minor versions?

I’m doing the training on Gitlab Learn
And I found this question: Which GitLab branching option deals with minor versions?
I answered the option “Release Branches” and it’s wrong. Why? Can someone explain to me, I didn’t understand.

1 Like

i have the same doubt

I guess that is because the release branch is a branch with the final pack of the version of the app, but environment branch is a branch to test some interaction before to go further. The release could be packed with all content, like bug fixes, new artifacts … is bigger

In my experience, release branches are created by combining a group of development and feature branches, such as adding new features, bug fixes, and enhancements. After being tested and approved, they are merged into an environment branch, such as staging or a team’s environment (in case it’s the team’s environment, they must be merged to staging before going to production), for performance testing on deployed infrastructure which is mirrored of the production environment (pre-release). Once we decide to go live, the stage is merged with the production environment (release). This question highly depends on the company or way of working (we work with agile methodology).

P.S. all changes going toward a shared environment, such as staging/production, are done by approved PRs.