How to fix error: insufficient permission for adding an object to repository database in Git | DevErrors