We are using unity to develop games and I set up linux server and running gitlab on the server. I have created the repository for our game. But I want to separate design and code side. I don't want designers to reach code only developers should have access to the codes. at least is it possible to only let designers push and pull between them but not the developer's commits ?
If you are using Unity 2019 or later, there is also Package Manager option. Basically you can keep all your code in a package project and make that project accessible by only developers. And keep all design assets in a separate project, that depends on your code project. So in that manner designers won't be able to modify somehow your code, and it won't be visible in Assets folder.