Skip to content
Versora

Manual

Servers and accounts

Git servers (per-server credentials)

5 min read

On this page

The Git servers screen keeps one credential (username and token, or password) for each server: gitlab.empresa.com, github.com and so on. With it, Versora:

  • hands the credential to Git for clone, fetch, pull and push over HTTPS, without asking;
  • turns on the GitLab and GitHub integrations: merge requests, review, pipelines, issues, notifications, push rules, CODEOWNERS and key uploads.

The token is kept in the Windows credential vault (Credential Manager). An app file holds only the list of servers, never the secret.

To sign in through the browser, without creating a personal token, see Sign in with GitLab or GitHub.

Where to find it

  • Tab bar: the key icon (tooltip: "Git servers (credentials)").
  • Palette (Ctrl+P): "Git servers (credentials)".
  • The Git servers buttons in the integration notices (MERGE REQUESTS section without a token, review, pipelines, issues, notifications) open the screen already on the right server.
  • Preferences › Accounts › Git servers….

Adding a server

Step by step

  1. Open Git servers.
  2. In the Add server form, choose the Type: GitLab, GitHub, Bitbucket, Gitea / Forgejo, Azure DevOps or Other.
  3. In Host, type the server name, without https:// (for example, gitlab.empresa.com). If there is a port, include it (gitlab.empresa.com:8443).
  4. In Username, your username on the server.
  5. In Access token or password, paste the personal token (recommended) or the password.
  6. Click Save. You see "Credential saved to the system vault."
FieldWhat it isNote
TypeThe server's service.GitLab and GitHub turn on the integrations; the other types are for the Git credential. When opened from a host with "github" in its name, GitHub is preselected.
HostServer name (and port, if any).Stored in lowercase.
UsernameThe account's username.Required.
Access token or passwordThe secret, kept in the Windows vault.Required when adding; when updating, "(keep current)" leaves what is already there.

Which token to create

ServiceToken scopeWhat for
GitLabapiGit over HTTPS and all integrations
GitHub (classic token)repoGit over HTTPS, pull requests, checks, issues
GitHub (fine-grained token)repository access and "Checks: read"the commits' checks
GitHub, notificationsnotifications (or repo) on a classic tokenthe notifications bell; fine-grained tokens can't read GitHub notifications
GitHub, uploading keyswrite:public_key, write:ssh_signing_key, write:gpg_keySSH keys and GPG keys

On a self-hosted GitLab, Versora uses the API at https://<host>/api/v4; on GitHub Enterprise, https://<host>/api/v3. API HTTPS uses the Windows certificates (including your company's root certificate) and the proxy from Preferences › Network.

Updating or removing

  • Update: click the server's row (tooltip: "Edit"). The form becomes Update gitlab.empresa.com. Change what you need and click Update. Leave the token blank to keep the current one.
  • Remove: click the trash icon (tooltip: "Remove credential"). With a single token account, the server is removed without asking. With more than one account or with an OAuth sign-in, Remove the server gitlab.empresa.com? opens: the accounts leave the vault, and the OAuth sign-ins are revoked on the server first. Confirm with Remove server.

A server that came from a settings import arrives without a token and shows the no token badge (tooltip: "Imported without a credential: click to enter the token").

Server version and token validity

For each GitLab or GitHub with a token, the server's row also shows the product and version (for example, "GitLab 19.4 · Enterprise · Premium or higher") and the token's validity (for example, "Token: expires in 12 days (08/12/2026) · scopes: api"). When the token expires soon, has expired or was rejected, the row ends with "click to update": click it and paste the new token.

Versora also checks token validity on its own and warns you before one expires, with the Update token button, which opens this screen already on the server. The warning is turned on and off in Preferences › Network › Server tokens.

All the row states, what each one means, the automatic warning and the messages are in Server tokens.

How Git receives the credential

In network commands, Versora presents itself to Git as a credential helper. Git asks for the host's credential and Versora answers with the username and token from the vault. Nothing is written to your Git configuration.

bash
git -c credential.helper= -c "credential.helper=!'<Versora>' credential-helper" \
    -c credential.helper=<your helpers> fetch --all --prune --tags
  • Hosts that aren't registered keep using your Git's credential helper (for example, Git Credential Manager).
  • SSH remotes don't use this screen: they use your SSH keys (see SSH keys).
  • With more than one account on the same server, Git receives the account chosen for each remote (see Accounts).

When the credential is missing

If Git asks for a credential that isn't registered, Versora shows a dialog:

  • Username: "Enter the username for gitlab.empresa.com";
  • Password: "Enter the password (or access token) for gitlab.empresa.com", in the Password or token field.

Click Continue to proceed. To avoid typing it on every operation, register the server on this screen.

Caveats and messages

  • "GitLab rejected the token registered for gitlab.empresa.com (401): it may be wrong, expired, or revoked. Update it in Git servers."
  • "The token registered for gitlab.empresa.com isn't allowed to do this (403). It needs the "api" scope and access to the project equipe/app."
  • "GitLab at gitlab.empresa.com answered "not found" (404) for equipe/app…": the project may have moved or the token doesn't have access to it. Check the remote URL.
  • "GitLab at gitlab.empresa.com rate-limited this account. The integration is paused for 2 minutes and resumes on its own."
  • "Couldn't find gitlab.empresa.com. Check the network (VPN?) and the remote URL."
  • "Windows doesn't trust the certificate of gitlab.empresa.com. Install your company's root certificate in "Trusted Root Certification Authorities"…": see Network and updates.
  • "There's no token registered for gitlab.empresa.com. In Git servers, register a GitLab access token with the "api" scope."
  • "Enter the host and the username." and "Enter the token or password.": required fields in the form.
  • "Credential vault unavailable: …": Windows Credential Manager didn't respond.
  • Exporting and importing settings (Home): the servers go in the file and the tokens are included only encrypted with a password. After importing without credentials, you see "2 servers without a token (…): add them in "Git servers"." See Getting started.
  • Company policy: allowed_servers limits the servers accepted when adding, in API calls and in every Git network command. See Administrators.
  • Proxy and certificates: Preferences › Network (see Network and updates).

See also