Once seemed like a good idea, https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
But:
Gitflow is a legacy Git workflow that was originally a disruptive and novel strategy for managing Git branches. Gitflow has fallen in popularity in favor of trunk-based workflows, which are now considered best practices for modern continuous software development and DevOps practices. Gitflow also can be challenging to use with CI/CD. This post details Gitflow for historical purposes.
https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow