There should be a way to get the know the branch name of the latest release of the given environment
I could not find any way to get the branch name for a release in the given environment for a Project.
My requirement: There are around 40-50 projects in my organization, there are different-2 environments like Beta, UAT and Production. and source control branches are also different-2 for each environment and there is no naming convention followed by people. So It's very hard to know for a given project and environment what is the repository and what is the branch name.
I tried with Octopus. Client library, But could not get this information. So it would be great to have support to get this information. It will be really very helpful for the developers.

-
Andy Allen commented
If this is about Config as Code and I am pretty sure you are talking about that. Yes I would agree.
-
Thank you for your request. Just to clarify, is this for a Config as Code enabled project (version controlled)? Or a database project? Thank you