The write protected repository feature will make sure users cannot overwrite objects in the SAP system with objects from the git repository. So it helps enforcing that data can only go from the SAP system to the Git repository.
The feature disables pulls, uninstall of all objects, switching branches etc.
from the abapGit main screen: Advanced -> Database util
find the repository, click “Edit”
find the value
<WRITE_PROTECT/>and replace with
restart abapGit(just to make sure caches are cleared)