Sync and manage GitLab and GitHub wikis directly inside Obsidian.
This plugin helps you keep documentation in a GitLab or GitHub wiki and edit it from your vault, with file status indicators and one-click repository sync.
Key Features
Connect one or more GitLab or GitHub repositories from plugin settings.
Clone each wiki into your vault: GitLab wikis into Gitlab_Repositories/<repo-name>, GitHub wikis into Github_Repositories/<repo-name>.
Show file change status in the File Explorer (M, C, D).
Add a quick sync action for repositories in the explorer.
Sync in one step: commit your changes, get the latest version from the server and push. On a conflict nothing is pushed and your commit stays in the local clone.
Installation
Community Plugins (after approval)
Open Settings → Community plugins in Obsidian.
Disable Safe mode (if required).
Search for Git Wiki Integration.
Install and enable the plugin.
Manual Installation
Download main.js, manifest.json, and styles.css from the latest GitHub release.
Create: .obsidian/plugins/git-wiki-sync/ in your vault.
Copy the three files into that folder.
Reload Obsidian and enable the plugin in Community plugins.
Usage
Open plugin settings.
Select Add repository (+) and enter a GitLab or GitHub repository URL.
Select the sync button next to the URL to clone the wiki into your vault.
Edit the Markdown files in the cloned folder.
Use the sync button next to the repository in the file explorer to push your changes.
Configuration
Repository URL: Add repository URLs one by one, for example https://gitlab.com/group/project, https://github.com/owner/repo or [email protected]:owner/repo.git. The address of a wiki page works too.
Remove repository: Delete an existing configured repository.
Sync repository: Clone/update the selected repo wiki.
GitHub wikis
GitHub creates the wiki repository with its first page. If the wiki is empty, create a page on GitHub before you sync.
You need write access to the repository, or a wiki that anyone can edit, to push changes.
GitHub Enterprise is detected when its host name has a github part, for example github.example.com.
Private repositories
The plugin runs the Git installed on your computer and uses its sign-in. URLs that contain a username or token are rejected, because plugin settings are stored as plain text in your vault.
SSH: Add your SSH key to GitLab or GitHub and use the SSH URL.
HTTPS: Set up a Git credential helper, then run git clone <project-url>.wiki.git once in a terminal and enter your username and access token. Git remembers them for the plugin.
If you used version 1.0.0 with a token in the URL, revoke that token. It was saved in the plugin's data.json and in the .git/config of the cloned wiki.
Upgrading from 1.0.0
The plugin ID changed to git-wiki-sync. Remove the old obsidian-gitlab-wiki-integration plugin folder, install the new version and add your repository URLs again. Cloned GitLab wikis in Gitlab_Repositories are kept. If you cloned a GitHub wiki with 1.0.0, push your changes first: it is now cloned again into Github_Repositories.
Obsidian has no Git API, so the plugin starts the git program to clone, check and sync your wikis. This is why plugin reviews show a shell execution warning. The plugin:
Starts only git, with fixed commands and without a shell, so text in URLs or file names is never run as a command.
Changes wiki files only in Gitlab_Repositories and Github_Repositories in your vault.
Never reads your credentials. Git itself uses your Git configuration, SSH keys and credential helper, which are outside the vault.
Network use
The plugin only connects to the Git servers you configure, and only when you sync. Syncing uploads your changes in that wiki's folder to its server.
Screenshots
Development
Install dependencies: npm install
Build once: npm run build
Watch mode: npm run dev
Future Development
Add custom git actions per repository (stage selected files, commit with custom message, pull/rebase, push, stash).
Add quick actions in the explorer context menu for common workflows (pull, commit+push, discard file changes).
Reflect actual git tree state in Obsidian by parsing full git status --porcelain output for tracked, untracked, renamed, and deleted paths.
Include deleted files in the tree view as pending deletions until sync, with clear visual status and optional restore action.
Improve repository state refresh to avoid stale indicators after rename/delete operations.
Sync and manage GitLab and GitHub wikis inside Obsidian. Clone multiple wikis into your vault, show file change status in the File Explorer, and run one-click commit/pull/push sync that preserves local commits and prevents pushes on conflicts.