(Deep) get or put a commit object into the repository. This will also get or put all child trees and blobs.