> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/bdb-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-list-page/notebook-version-control.md).

# Notebook Version Control

Easily maintain multiple versions of a Notebook in GIT Lab.

{% hint style="success" %}
*<mark style="color:green;">Pre-requisite:</mark> Make sure that the Version control settings for the DSL plugin are configured by your administrator before you use this functionality.*&#x20;
{% endhint %}

{% hint style="success" %}
*Watch out a walk-through on the **Version Control Functionality** for Notebook.*
{% endhint %}

![Pushing to and Pulling from VCS functionality for a Notebook](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FMAB7AbiaPDfXojCeDAlW%2Fpush_pull_notebook.gif?alt=media\&token=b15c0f66-d786-4553-af9e-c9e79b9e0ee2)

## Pushing a Notebook to the VCS

* Navigate to the Notebook list of a Project.
* Select a Notebook.
* Click the ***Push into VCS*** icon for the Notebook.​

![Push to VCS icon for Notebook](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FlI08IOEd1sSt4OwxOFp6%2Fimage.png?alt=media\&token=f3a99a35-1125-461a-b1db-1178923c8150)

* The Push into Version Controlling System dialog box appears.
* Provide a Commit Message.
* Click the ***Push*** option.​

&#x20;    &#x20;

![Push into Version Controlling System dialog box](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FqcgsmEO6N7IEjJamVIqW%2Fimage.png?alt=media\&token=cf9badab-fbc4-4f18-bf62-1ff1363aeedf)

* The Notebook version gets pushed into the Version Controlling System and the Notebook list gets updated with the latest version.
* &#x20;A notification message appears to inform the success of the action.​

&#x20;    &#x20;

![Notification message after the Notebook version gets updated in the list](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FEaOswHF4cT5KcGYtkp4X%2Fimage.png?alt=media\&token=e375ad24-e15c-4a6e-abbb-079cf1ab5e40)

## Pulling a Notebook from the VCS <a href="#pulling-a-project-from-the-vcs" id="pulling-a-project-from-the-vcs"></a>

* Navigate to the Notebook list given under a Project.
* Select a Notebook.
* Click the ***Pull from VCS*** icon for the Notebook.

![Pull from VCS icon for a Notebook](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FoSN2L7eGzcSfLrK1ifO1%2Fimage.png?alt=media\&token=27955636-ca84-414f-823c-0188de56273b)

* The ***Pull from Version Controlling System*** dialog box opens.
* Select the version that you wish to pull by using the checkbox.
* Click the ***Pull*** option.

![Pull from Version Controlling System dialog box for Notebook](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FbcwXk2FLWi66PVeORVea%2Fimage.png?alt=media\&token=0220b354-d2b7-4618-ad48-91ff081b4aa7)

* The pulled version of the selected Notebook gets updated in the Notebook list.
* A notification message appears to inform the success of the action.

![Notification message after a version of the Notebook gets pulled](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FgeR8m2hD9Mbig6gpDZHR%2Fimage.png?alt=media\&token=5e13ece8-823a-401b-9fd4-88bfd8aa0e13)
