Hi @HariPr6
You can contact adobe directly to clarify that.
But Adobe suggested to use different git repo for each environment and merge to main branch and then just create a PR with fork to STAGE or PROD but now they have introduced repoless there you can use same code with different website, maybe this can help to achieve what you are mentioning using dev and release branches in typical development
https://www.aem.live/docs/repoless
Arun Patidar