Introducing repo sync/publish history method and some history tescases