So this is how I set up my project:
git init --bare
Later I learned that if you want to work on a project with multiple users this is how I should have done it:
git init --bare --shared
Now I tried to work like that and luckily we are in the beginning so I could set up git again. I still wonder though when you're in the middle of a project you can't do that. Is there a way that i can change a bare repo to a shared one?