# error: insufficient permission for adding an object to repository database .git/objects # EASIEST & SIMPLEST SOLUTION ↓ sudo chmod 777 -R /path/to/your/git/repository/.git/objects