Git and GitHub for LaTeX

Version your projects with Git and synchronize them with GitHub.

BlaBLaTeX integrates Git for version control and GitHub synchronization, allowing you to connect your projects to a remote repository. You can work directly in BlaBLaTeX, use your preferred LaTeX editor or integrate your documents into your GitHub workflows.

Git history

Keep track of the versions of your article, dissertation, report or thesis.

Local work

Use VS Code, TeXstudio or your Git client without leaving your workflow.

GitHub synchronization

Pull and push changes between your computer and BlaBLaTeX.

Usage

Use Git with a BlaBLaTeX project

In your project, the Git menu provides the repository URL and the clone command. Copy this command, then use it in your terminal or Git client.

Clone with Git

Git clone your project by using the link below and a Git authentication token.

git clone https://git@workspace.blablatex.com/git/<YOUR_PROJECT_ID>

If prompted for a password, use a Git authentication token.

GitHub

Synchronize a project with GitHub

A BlaBLaTeX project can be linked to a GitHub repository. The Sync with GitHub window displays the linked repository and the recent commits available on GitHub.

The Sync button synchronizes changes between BlaBLaTeX and the GitHub repository. This allows you to keep your writing environment in BlaBLaTeX while benefiting from the features provided by GitHub.

Sync with GitHub

This project is linked to: my-user/latex-project

Recent commits in GitHub

Update thesis.tex

by GitHub user <user@users.noreply.github.com>

3641ada
Unlink
Authentication

Authenticate with a Git token

Git access uses a personal token linked to your account.

Username: git
Password: your Git token

Each collaborator uses their own token. A token should never be shared.

Git integration

Generate and manage your Git authentication tokens.

Your Git authentication tokens

Your Git authentication tokens should be entered whenever you're prompted for a password.

  • You can have up to 10 tokens.
  • If you reach the maximum limit, you'll need to delete a token before you can generate a new one.
Token Created at Last used Expires Action
blx_hk2B************ 27 May 2026 12 Jun 2026 27 May 2027
Add another token
Documentation

Git and GitHub documentation

This page introduces the Git integration and GitHub synchronization available in BlaBLaTeX. To learn Git or explore GitHub repository management in more detail, consult the official documentation: