Make GitDataStore.updateProfile() atomic with single commit