Return repo in original state.