JupyterLab Git

0.52.0 · active · verified Thu Apr 16

JupyterLab Git is an open-source extension for JupyterLab that integrates Git version control directly into the user interface. It provides a graphical interface for common Git operations such as cloning repositories, staging and committing changes, pushing and pulling to remotes, managing branches, and viewing commit history. Maintained by the Project Jupyter community, it is currently at version 0.52.0 and receives regular updates, often aligning with new JupyterLab releases.

Common errors

Warnings

Install

Imports

Quickstart

After installing `jupyterlab-git`, launch JupyterLab. The Git extension will appear as a Git icon on the left sidebar. Clicking it will open the Git panel where you can clone a repository or initialize a new one. For first-time use, you may need to configure your Git username and email via the JupyterLab terminal.

# After installation, launch JupyterLab
jupyter lab

# In JupyterLab, open the Git tab (version control icon on the left sidebar).
# If it's a new repository, initialize it via the UI or terminal:
# In JupyterLab terminal (File -> New -> Terminal):
git init
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"

view raw JSON →