> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-3/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/data-science-lab-3/project/tabs-for-a-data-science-lab-project/tabs-for-tensorflow-and-pytorch-environment/notebook/ways-to-access-notebook/import/pull-from-git.md).

# Pull from Git

This functionality is provided for pulled Notebooks. The users need to start with initial Pull from the Git repository to proceed with this functionality.

## Pulling from Git

{% hint style="warning" %}
*<mark style="color:orange;">Pre-requisite:</mark>*&#x20;

* *The user needs to do the **Admin configuration** with an authentication token.*&#x20;
* *The user also needs to do **Project** level- configuration of **Git Project** and **Git branch**.*
  {% endhint %}

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> the user can generate an authentication token from their Git Lab or Git Hub repositories.*
{% endhint %}

### Admin Level Configuration

{% hint style="success" %}
*Check out the given illustration to understand the Admin configuration part with the authentication token under the platform.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FFFMLRA7479lmqVVIIsFb%2FGit%20pull_Prerequisites.mp4?alt=media&token=a28d7d95-6fef-469e-8e0d-233e5fed1132>" %}
***Pull Pre-requisite***
{% endembed %}

* Navigate to the ***Admin*** module.
* Open the ***Version Control*** from the ***Configuration*** options.
* Select the Token type as a private token.
* Provide the authentication token in the given space.
* Click the ***Test*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F7Sjk1cKqyYHI0T94yCYZ%2Fimage.png?alt=media&amp;token=3103720b-bc4f-441f-a054-5c0e4b80cbb2" alt=""><figcaption></figcaption></figure>

* A notification message appears to inform the user that authentication has been established.
* Click the ***Save*** option.&#x20;

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FAoiLl4LHSNN9pycwgZa0%2Fimage.png?alt=media&amp;token=f37173f4-e235-4299-ac76-36c673262d0c" alt=""><figcaption></figcaption></figure>

* A notification message appears to inform that the version control has been updated.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FHzLZyYawENiRwUSIX22v%2Fimage.png?alt=media&amp;token=395e0ab0-bace-4ee4-b04b-fe000a8c54cd" alt=""><figcaption></figcaption></figure>

### Pulling Git file in Notebook

Projects and Branches created in GitLab/GitHub can be accessed using the access token inside the DS Lab and the files (.ipynb) can be pulled using the ***Pull from Git*** functionality.

Once the initial pull (import) has happened, the user can pull the latest version of the Python file from Git using the ***Pull from VCS*** functionality available in the Notebook List.

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Only .ipynb files will be supported.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FQyAC0WhNDRJm5KfqXfwz%2FGit%20Pull_Notebook.mp4?alt=media&token=194b6ebe-d572-4666-8e06-aab2a88f82d1>" %}
***Pulling from Git***&#x20;
{% endembed %}

* Navigate to an activated Project.
* Open the ***Notebook*** tab (It opens by default).
* Click the ***Import*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FlBRUBrbR6cvwZryx8aRV%2Fimage.png?alt=media&amp;token=9759cda1-7970-45c8-a97b-283b3ef3a5a2" alt=""><figcaption></figcaption></figure>

* The Import Notebook page opens.
* Select the ***Pull from Git*** option.
* All the available versions appear.
* Click the ***Save*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2Fn1gJgGD5jETDMn5TiWEF%2Fimage.png?alt=media&amp;token=278f1521-9aca-43a8-8d96-c7d1301deffd" alt=""><figcaption></figcaption></figure>

* A notification message appears to ensure that the selected file is pulled.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FXLTWqoyN0X1KHJalcH7A%2Fimage.png?alt=media&amp;token=b0f66dec-185c-4cff-ae0a-7183441ed6af" alt=""><figcaption></figcaption></figure>

* Consecutive notification message appear to ensure that the Notebook is started, imported, and saved.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FjUHrroAERZOsRQZWjlhi%2Fimage.png?alt=media&amp;token=cc30e6c2-561c-4251-86ee-7cc38f8e52ae" alt=""><figcaption></figcaption></figure>

* Access the Notebook script from the Git repository.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2Fg4aYqhIKhZG5GULTqOqg%2Fimage.png?alt=media&amp;token=a83b7f61-fdcf-4767-8c8c-df9bb1b3f0ba" alt=""><figcaption></figcaption></figure>

* Open the same script from Git.
* Click the ***Edit*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FpLcAdDqRqGzipqmtuRrQ%2Fimage.png?alt=media&amp;token=20833439-f9b1-430b-83ea-1577294fa15f" alt=""><figcaption></figcaption></figure>

* The script opens in Edit file mode.
* Modify the script.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FiVNk7JnWqCWXlm1LdaIh%2Fimage.png?alt=media&amp;token=a41198cc-bea0-4e2f-aee2-1e144792b0fb" alt=""><figcaption></figcaption></figure>

* Click the ***Commit Changes*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FWKj1cURuyjM96JiKcfp4%2Fimage.png?alt=media&amp;token=d9200bf1-0d53-459d-b7a8-82510ac6f112" alt=""><figcaption></figcaption></figure>

* A notification message appears to ensure that the changes are successfully committed.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F5lMkLYa9mnuoOWQIkN0z%2Fimage.png?alt=media&amp;token=b1919da7-ee84-4fd1-9521-6531669743c1" alt=""><figcaption></figcaption></figure>

* The modification committed in the script gets saved.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FMiUsUHMWazcbrWeRIueO%2Fimage.png?alt=media&amp;token=fc3a95bc-cc0b-46e9-8152-f65dcb35ba3e" alt=""><figcaption></figcaption></figure>

* Navigate to the same Notebook.
* Click the ellipsis icon to get the Notebook options.
* Click the ***Pull from VCS*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FUH4GGE6U0FUZFeZNrJKC%2Fimage.png?alt=media&amp;token=62f38cf8-7747-45f7-abef-9a9bee629f9b" alt=""><figcaption></figcaption></figure>

* The ***Pull from Git*** dialog box opens.
* Click the ***Yes*** optio*n*.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FNSgWCqEuXhG7O9jsI4Rf%2Fimage.png?alt=media&amp;token=e9bb191b-8385-4072-9dd8-89d4bbc72e6d" alt=""><figcaption></figcaption></figure>

* A notification message appears to inform the user that the latest file version is pulled.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FmJcEzOA76U22LpYc1n1I%2Fimage.png?alt=media&amp;token=244c7632-85f2-47a9-9555-32de572080a5" alt=""><figcaption></figcaption></figure>

* Another notification message appears to inform the user that the pulled Notebook is started.
* The latest/ modified script gets updated.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F7wEuFSIHL9nRf7rMm2uy%2Fimage.png?alt=media&amp;token=dfd2d6c0-b272-4f1c-847c-a00a8749fbd2" alt=""><figcaption></figcaption></figure>

## Pushing to Git

### Related Settings for the Git Token

{% hint style="warning" %}
*<mark style="color:orange;">Push pre-requisites:</mark>*

1. The user branch should have Developers' + maintainers' permission to push the latest code into the **Main** branch.
2. The User token has to be set in the user profile using the Custom Fields setting available at the Admin level.
3. The user token key name has to be '**bdbvcstoken'**.
   {% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FzVipXaBuZAuJB6124vDG%2FGit%20push_Prerequisites.mp4?alt=media&token=c0aa8561-d7a5-4cd6-98ab-e3ae872fe968>" %}
***Pre-requisites for Pushing a file to Git***
{% endembed %}

* Navigate to the Admin module.
* Open the ***Custom Field Settings*** under the Configurations option.
* The Custom Field Information appears.
* Provide the following information for custom field:
  * Key- ***bdbvcstoken***
  * &#x20;Input type *- Manual*
  * Description - Git User Token
  * &#x20;*Mandatory - No*
* Click the ***Save*** option to save the modified ***Custom Field Settings***.
* A notification message appears to inform the user that the custom field settings are updated.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FgGF4zjLVwSOugOAhOGgo%2Fimage.png?alt=media&amp;token=51fc53d1-b6a9-44f4-a5cb-24153abfb9db" alt=""><figcaption></figcaption></figure>

* Navigate to the ***Security*** module.
* Go to the ***Users*** list.
* Select the user from the list.
* Click the ***Edit*** icon.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FOSvpSIFCf5fqjsjZRr1h%2Fimage.png?alt=media&amp;token=ae2e4fc5-606e-48b0-bcf4-1ed74f437362" alt=""><figcaption></figcaption></figure>

* The ***Update User*** page opens.
* Check out the ***Custom Fields*** section.&#x20;
* ***Validate*** whether the ***Git User Token*** is valid or not. If not ***provide the valid Git User Token***.
* Click the ***Save*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F6cW91d0Hmfw53mrBRCIK%2Fimage.png?alt=media&amp;token=10e9469b-32ac-41c5-abeb-fc24ce7ca464" alt=""><figcaption></figcaption></figure>

* A notification message appears to inform that the user is updated successfully.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FcFwTphqUtAwvkYD2Hb3j%2Fimage.png?alt=media&amp;token=615f6c1f-f408-4fa1-9ea7-4ad731f5da81" alt=""><figcaption></figcaption></figure>

* Open the ***User Profile***.
* Select the ***My Account*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FFxz12ZnUxXI1LzytEQt7%2Fimage.png?alt=media&amp;token=9923c521-dd85-4912-8bcc-169333ae5317" alt=""><figcaption></figcaption></figure>

* The ***My Account*** details get displayed.
* Open the ***Configuration*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F5pbM8GzYmbiU3QFwN7wW%2Fimage.png?alt=media&amp;token=93fb980b-b825-4f21-9ba2-e2ad2eeecd82" alt=""><figcaption></figcaption></figure>

* The same token gets updated under the ***Git Token*** section which was provided under the ***Configuration*** section.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F9ScHkjfC2JdFUNozIwk2%2Fimage.png?alt=media&amp;token=b221c56c-62d6-4417-9c62-ef062b7bf8c6" alt=""><figcaption></figcaption></figure>

### Pushing a File to Git

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Before using the Push a file to Git functionality make sure that the following requirements are fulfilled:*

1. *The latest file is pulled into DS Lab before modifying and pushing back to the Git branch.*&#x20;
2. *The user should have access to the Git branch for pushing a change.*
   {% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2Fi6IqKvLZdQTJeTxevCfK%2FGit%20Push_Notebook.mp4?alt=media&token=013385b6-bdd8-44f0-8601-80e0717f8d43>" %}
***Pushing to Git***
{% endembed %}

* Open an activated Project.
* Navigate to the Notebook tab (it opens by default).
* Select a Notebook from the displayed list to open the content/script.
* The existing content gets displayed. Carefully notice the script version.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FqULcMf4EL4S2qKTy3L1c%2Fimage.png?alt=media&amp;token=b92fd26b-3d4c-4d7c-b4d9-bda67f107eba" alt=""><figcaption></figcaption></figure>

* Click the ellipsis icon to get the notebook options.
* Click the Push into VCS option for the selected Notebook.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FmwKZcHDKXO1a6MF9EjJt%2Fimage.png?alt=media&amp;token=7796fe6a-46f2-4001-81cb-5b170d7b94e7" alt=""><figcaption></figcaption></figure>

* The ***Push into Git*** dialog box opens.
* Provide a commit message.
* Click the ***Push*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F7q8li6rpsR5c7y0HZM8R%2Fimage.png?alt=media&amp;token=dd0daeec-476b-4ad2-ab42-ed1a47cf0e75" alt=""><figcaption></figcaption></figure>

* A notification message appears to ensure that the latest file version is pushed (to Git).

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FNp8k3SN0ayaHZUOolehx%2Fimage.png?alt=media&amp;token=8cd4ae63-d540-4bd5-be80-04afa86f0148" alt=""><figcaption></figcaption></figure>

* Navigate to the Git repository and access the pushed version of the Notebook script.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FyeJNDqun6t0KOta9qRzg%2Fimage.png?alt=media&amp;token=3bf711ca-8d21-4c52-9446-e4ab83e37039" alt=""><figcaption></figcaption></figure>

* Open the script.
* Click the ***Edit*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FJPhINCYOLtQPtS4CuTI5%2Fimage.png?alt=media&amp;token=2c48a8f2-f721-4508-8723-b107a3fd194e" alt=""><figcaption></figcaption></figure>

* The file opens in Edit mode.
* Modify the script. E.g., In the given image the version number is changed from V1 to V2.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FkOx6VD8voN1AXbGIwCDf%2Fimage.png?alt=media&amp;token=35dc4b0b-88e9-4cbb-b559-f49db7238516" alt=""><figcaption></figcaption></figure>

* Click the ***Commit changes*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FCUY4W29j5lDYdLOCqjBy%2Fimage.png?alt=media&amp;token=ae58fce9-63b4-47ef-9883-ee421d07d271" alt=""><figcaption></figcaption></figure>

* A message appears to ensure that your changes have been successfully committed.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FkWGZ6MKpNIW0k0reeNrC%2Fimage.png?alt=media&amp;token=bbb3f7c2-6fd0-4270-99ea-5e8f0e9ba0c1" alt=""><figcaption></figcaption></figure>

* Navigate back to the same Notebook.
* Verify the script content. E.g., the image displays that the selected Notebook has an older version mentioned.
* Click the ellipsis icon to get the Notebook options.
* Click the ***Push into VCS*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FV2l3pRjQQnmdf9ZdXIuj%2Fimage.png?alt=media&amp;token=945144ff-6492-4d9d-9305-c3e996cde630" alt=""><figcaption></figcaption></figure>

* The ***Push into Git*** dialog box appears.
* Provide a Commit Message.&#x20;
* Click the ***Push*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FENigAyv2M0M1xmwQWKyh%2Fimage.png?alt=media&amp;token=2a67600a-d4c8-4f39-b6da-ac5335859db8" alt=""><figcaption></figcaption></figure>

* An error message appears suggesting the users take the latest pull since the currently existing file does not contain the latest update.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FJeijBV021IfFIV9MSbKD%2Fimage.png?alt=media&amp;token=005f5491-26ab-4c2e-865c-e1abe83e8491" alt=""><figcaption></figcaption></figure>

* Click the ellipse icon for the same Notebook.
* Click the ***Pull from VCS*** option from the displayed menu

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FwjD0m6LfFFOwnp73mef6%2Fimage.png?alt=media&amp;token=327963a6-bc1c-48c1-bfac-8c346705803a" alt=""><figcaption></figcaption></figure>

* The ***Pull from Git*** dialog box opens.
* Click the ***Yes*** option to pull the latest file version from Git.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FoGmcLCq4170tUo87wttZ%2Fimage.png?alt=media&amp;token=d8ada08a-be29-47cd-90a9-039d43bfbf14" alt=""><figcaption></figcaption></figure>

* A notification message appears to notify that the latest file version has been pulled.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FdOKirR0JON2VMaLqCqrd%2Fimage.png?alt=media&amp;token=d2edae0d-4fcb-4aa3-a618-10a8d8f17893" alt=""><figcaption></figcaption></figure>

* Navigate to the same Notebook.
* Check out the Notebook script, the latest modifications will be reflected in the script. E.g., In this case, the updated version appears in the script.&#x20;

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FicAoYMjtw3tvphiyHfyH%2Fimage.png?alt=media&amp;token=99ba32d1-f786-4737-88b1-19aa2bceed8d" alt=""><figcaption></figcaption></figure>

* Modify the available script inside the Notebook. E.g., Again the Version of the script has been changed to V3.
* Click the ***Save*** icon to save the changes.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FYtzxl9p2Pwaw3MIHDg0Z%2Fimage.png?alt=media&amp;token=02be19e9-e9a7-4b1f-870d-eeb2e94271c1" alt=""><figcaption></figcaption></figure>

* A notification message appears to ensure that the Notebook has been successfully saved.
* Click the ellipsis icon to open the Notebook options.
* Click the ***Push into VCS*** option from the displayed list of options.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FTgwjhEag6ZXoS1GOB5Dz%2Fimage.png?alt=media&amp;token=38aa1885-8d62-4a29-9eaa-007606ef4091" alt=""><figcaption></figcaption></figure>

* The ***Push into Git*** dialog box opens.
* Provide a commit message.
* Click the ***Push*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F22Dhb6pV5oTt8ytWVLsl%2Fimage.png?alt=media&amp;token=8c8a921c-81b3-4ec1-93d3-389315606226" alt=""><figcaption></figcaption></figure>

* A success notification message appears ensuring that the latest file version has been pushed to Git.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FJY341KJO7OpkAx8siLGd%2Fimage.png?alt=media&amp;token=0760ded9-aacb-423a-a177-de3011c204f4" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The Pull from Git functionality supports **Git Lab** and **Git Hub**.*
{% endhint %}
