Console: Fix issue while updating existing scripts
LIVEOAK-649 Unable to successfully create new app storage once an example app was installed
- Call close() on git repository instances when no longer required, so any resources are cleaned up
- Move add and commit commands into a synchronized block in CommitsResource.createMember() to ensure that concurrent requests don't result in a lock exception