Is there a Postgres function I can use

Is there a Postgres function I can use to find out what branch I am on and if it is protected?
Was this page helpful?