If you have One-Way git sync enabled, this is currently expect, while not ideal, behavior.
It’s effectively removing the admin role. This has been resolved in the 2.5 builds: Adjust One-Way Git Sync Behavior · Issue #589 · ironmansoftware/issues · GitHub
We have made a lot of improvements to one-way git sync in 2.5: PowerShell Universal 2.5.0 Milestone · GitHub