I want to be able to get all branches from a project that are protected. The protection is done in gitlab, so I wasn't sure if there's API exposed so I can get it from the command line.
I looked at git branch command, but I didn't see anything there that could tell me whether a branch is protected or not.