When getting this error: Git: insufficient permission for adding an object to repository database .git/objects go to the folder with the solution and distribute all the rights to read and write.