Validate protected branch import for Github import

Validate that projects imported from Github retain same protected branches

Related to: #22650 (closed)

Edited by andrey