Set commit sha for added git objects