This might not be necessary since git will do the right thing if the remote commit that is being pushed is already in the remote immutable object store.