I am trying to git pull but i am getting
**
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
**
I have tried various things toi change owner permission like this but no awail.
sudo chown -R $USER:$USER "$(git rev-parse --show-toplevel)/.git"
any suggestion will be appriciated. Thanks.