# Notebook Version Control

{% 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](/files/BrcnVnU8K1tfEYhnvXG0)

## 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](/files/CfEKrQ3iYHrASe9gxUda)

* 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](/files/c9Ye7eYicI1tiLs7VSpj)

* 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](/files/ooIITQFLjSDpK9gg1yNA)

## 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](/files/hhqdkT30SUXv34g45QOR)

* 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](/files/UzPXpQS3kwDUK7Z66cXz)

* 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](/files/JNasE4DESMy2u1x3OYJc)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bdb.ai/bdb-documentation/data-science-lab/various-tabs-to-work-with/notebook/notebook-list-page/notebook-version-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
