GitHub api provides to do the following:
- required_linear_history: true,
- allow_force_pushes: true,
- allow_deletions: true
https://developer.github.com/v3/repos/branches/#update-branch-protection
The functions related to this 3 branch protection rules are not added in the class mentioned in the title.