We have a self-hosted Gitlab instance.
I used BFG-Repo-Cleaner and everything went well, but when I try to push changes I get this:
remote: GitLab: You are not allowed to force push code to a protected branch on this project.
P.S. I'm owner of the project. Earlier I made fork of this project and I had no problems pushing changes there.