--- title: Branches intro: Use the REST API to modify branches and their protection settings. versions: fpt: '*' ghae: '*' ghec: '*' ghes: '*' topics: - API autogenerated: rest ---