Added write_repository scope for personal access token

What does this MR do?

A new write_repository scope is introduced by splitting the repository write permissions out of the api scope.

The new scope will include the read_repository scope to ensure complete access (read-write) to the git repository and at the same time will be included in the api scope to ensure that all existing token will work as expected after the change.

What are the relevant issue numbers?

Closes #51709 (closed)
Closes #58847 (closed)

Does this MR meet the acceptance criteria?

Edited by Horatiu Eugen Vlad