'Gitlab protected branch

So i have setup selfhosted gitlab(version 14.8.2-ee).
It works fine, except i can't make "protected branch" rules work. I've got this rule: Protected branch rule
And it works, if i am trying to create file directly into master branch from gitlab web GUI.
But if i am pushing from my PC using git CLI, gitlab dose not reject it!
What am i missing?

git push origin master
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 217 bytes | 217.00 KiB/s, done.
Total 2 (delta 1), reused 0 (delta 0)
To https://<gitlab url>/root/test-push-problems.git
   489072e..2be97ad  master -> master


Solution 1:[1]

Just restarting instance solved my problem, but i still don't know what caused it.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Stepan Dmitriev