How to use or enable version control in GRAV

I am creating a documentation page using GRAV and I want to enable the version control or switch version drop-down in the left pane. Similar to how GRAV documentation is designed. Attached the screenshot of which I am referring to.
Guide me on how to acheive this.

Hi @Nagarajkumar, I’ve implemented something very similar in an alternate version of my Learn2 With Git Sync skeleton if you want to give that a go: https://github.com/hibbitts-design/grav-skeleton-learn2-with-git-sync/releases ( grav-skeleton-versioned-docs-learn2-with-git-sync-site.zip)