Return the sha as a result of repo.write()