Your Code. Your Rules.

Clone over HTTPS

Authenticate git clone, fetch, and push operations over HTTPS using a personal access token.

Clone and Push over HTTPS

Clone, fetch, and push over HTTPS with a personal access token (PAT) - the right choice for scripts, CI jobs, and GUI clients. For interactive daily use, the OAuth helper in Git Access needs no token at all.


Step 1 - Create a Token

Open Settings → Git Access → Tokens and create a token. Keep Git access checked (the default, for clone, fetch, and push); API access is not needed for git - it only unlocks The git.eu API. Copy the raw value immediately - it is shown exactly once.


Step 2 - Use It at the Prompt

Run a normal git command; enter your username and paste the token as the password:

git clone https://<INSTANCE>.git.eu/<USERNAME>/REPO_NAME.git
Username: <USERNAME>
Password: <paste-your-token>

Never hardcode a real token in a script or commit it - read it from an environment variable or a CI secret.

Using a GUI client such as TortoiseGit, or seeing the Windows credential prompt? See Git Client Setup for the click-by-click steps.


Step 3 - Or Put It in the URL

Embed the token in the clone URL - <pat> is the literal token you copied:

git clone https://<USERNAME>:<pat>@<INSTANCE>.git.eu/<USERNAME>/REPO_NAME.git

Migrate an existing repository the same way, after creating the empty one on your instance:

git remote remove origin
git remote add origin https://<USERNAME>:<pat>@<INSTANCE>.git.eu/<USERNAME>/REPO_NAME.git
git push --mirror origin

Step 4 - Cache It (Optional)

Store the token after the first successful use, so git stops asking:

git config --global credential.helper store

Large files? See Git LFS - it uses the same credentials.


Troubleshooting

Every other HTTPS sign-in error, with its fix: Knowledge Base - HTTPS Authentication.


About

Every HTTPS git operation is authenticated - no anonymous write, and private repositories also need authentication to read. HTTPS uses HTTP Basic authentication: your username plus a credential in the password field.

CredentialBest for
Personal access token (this guide)CI/CD jobs, scripts, GUI clients
OAuth token, via a credential helper (Git Access)Interactive daily use, no token to copy

<INSTANCE> (your instance slug) and <USERNAME> (your account name) resolve automatically in commands and buttons when you are signed in on this site; otherwise swap them for your own values. REPO_NAME is the repository name.


Next Steps

Ready to get started?

Manage your tokens