Coder connects to your Git provider to clone repositories into workspaces. Developers authenticate via OAuth or personal access tokens. Coder never stores, proxies, or caches your source code.
Supported providers
Note: If it speaks Git over HTTPS or SSH, Coder can connect to it.
GitHub
Cloud & EnterpriseGitLab
Cloud & Self-ManagedBitbucket
Cloud & ServerAzure DevOps
ReposGitea
Self-hostedAny Git server
SSHAuthentication flow
What Coder does / doesn’t do
Coder does
- Redirect auth — Send developers to Git provider OAuth flow
- Store tokens (encrypted) — Keep OAuth tokens encrypted at rest
- Clone repos — Use stored tokens to git clone into workspaces
- Enable git operations — Pull, push, fetch work transparently in workspaces
Coder doesn’t
- Store code — Code lives in workspaces, not on Coder servers
- Proxy traffic — Workspaces connect directly to Git, not through Coder
- Access without consent — Developers must explicitly authorize Coder
- Use shared service accounts — Each developer uses their own credentials
Configuration options
OAuth Apps
Register Coder as an OAuth app in your Git provider. Developers authorize once.Personal Access Tokens
For Git servers without OAuth, developers provide their own PATs.SSH Keys
User-provided SSH keys or Coder auto-generates keypairs per workspace.Coder connects to your internal Git server—no external access required. Perfect for regulated industries, government, and high-security environments.
FAQs
No. Coder stores OAuth tokens (encrypted) but never stores, caches, or proxies your source code. Code is cloned directly from Git into workspaces. Coder never has access to the code itself—only the credentials to facilitate cloning.
Yes. Coder respects your Git provider's RBAC. If a developer can't access a repo on GitHub/GitLab, they can't clone it in Coder either. Access control happens at the Git provider level.
Each developer authenticates individually via OAuth or PAT. Tokens are encrypted at rest in Coder's database. When a workspace starts, the token is injected (securely) so git operations work. Developers never see each other's tokens.
Yes. Git LFS works transparently. If your Git provider supports LFS and the workspace has git-lfs installed, large files are fetched automatically. No special Coder configuration needed.