I have git error: \"insufficient permission for adding an object to repository database .git/objects\" every time I make \"git pull origin develop\".
remote:
NOT A GOOD PRACTICE (Just an alternative)
I am using Ubuntu and faced the same problem. To solve it, I simply switched user to root and I see no further error.
$su password
Then,
$git pull origin master
Recommended way: CHANGE THE PERMISSION OF THE DIRECTORY