npm package

git-workspace-service

Updated 2026-07-16 View source ↗

#137 of 203 by Downloads / week among npm packages

6.7k Downloads / week

Git workspace provisioning and credential management service with OAuth device flow authentication

About

Git workspace provisioning and credential management service. Handles cloning repositories, managing branches, credentials, and PR creation.

Instead of using GitHub App, users can provide their own PAT or OAuth token:

Or use SSH authentication (relies on system SSH agent):

For CLI applications and AI agents, use the OAuth Device Code Flow for interactive authentication:

When requesting credentials, the service checks sources in this order:

For parallel work on the same repository, use worktrees instead of clones. Worktrees share the .git directory, making them faster to create and using less disk space.

If you need a specific branch name (e.g. for deterministic naming or external…

Excerpted from www.npmjs.com/package/git-workspace-service

Latest metrics

Downloads / week 6.7k 2026-07-16