Skip to main content
Create a Replo API key, get the site’s replo-git URL, and choose Basic or Bearer authentication.

Before you begin

  • Install Git.
  • Ask a workspace administrator to create an API key if you cannot open Settings > API Keys.
  • Decide whether you need read access or push access.
1

Create an API key

Open Settings > API Keys, then select Create API key. Give the key a clear name, select the project, and grant repo.read for clone and pull. Add repo.write if the key also needs to push.Copy the key when Replo shows it. You cannot view the full key again.
2

Store the key in your environment

Set the key in your shell. Store it as a masked secret instead when you run Git in CI.
Do not print the variable or commit it to a file.
3

Get the replo-git URL

Ask the Replo agent for the site’s replo-git URL, then store it in your shell for the commands on this page.
4

Configure authentication

Choose one setup. Basic works with current Git versions. Bearer is useful for CI, raw HTTP clients, and environments that already use bearer credentials.
Configure a credential helper for git.replo.app. The username is token, and the API key is the password.
The helper is scoped to git.replo.app and reads the key when Git runs. Verify the connection, then clone:
5

Push a change

Set a commit identity once if the machine has none, then commit and push. Pushing requires a key with repo.write; a read-only key receives Repository not found. on push.
git ls-remote prints the repository’s refs when the URL, key, scope, and project access are valid. Expect at least a HEAD line. If the command returns an error, use the Git troubleshooting guide.
Keep the key out of the replo-git URL. Use the credential helper or bearer header so the remote stored in .git/config stays safe to copy.

Add this workflow as a skill

Copy this SKILL.md into a coding tool that supports reusable skills. Set REPLO_API_KEY and REPLO_GIT_URL in its environment before using it.

Next steps

Understand Git access

Review authentication, scopes, and project permissions.

Troubleshoot Git

Fix the remote errors returned by git.replo.app.