// Docs

Working behind a proxy

One proxy for everything GeeTree does — clone, fetch, push, SSH, signing in and update checks — and a different answer for a single remote.

GeeTree has one proxy setting, and it covers everything the app reaches a network through: git over HTTPS and over SSH, Git LFS and credential helpers behind it, signing in to GitHub, GitLab, Bitbucket, Azure DevOps and Gitea, the repository lists in the clone dialog, and the update check. A single remote can be told to do something else.

Setting it

Preferences → Proxy. Write the address the way git writes one:

[scheme://][user@]host[:port]

http (the default), https, socks5 or socks5h — socks5h lets the proxy resolve the host name, which is what you want when the name only resolves on the other side. If the proxy needs credentials, put the user name in the address and the password in the field below it: the password goes to the system keychain, never to a settings file, never onto a command line and never into the environment of a child process.

Empty means no proxy, and then GeeTree passes nothing to git at all: your git configuration and the proxy variables your shell exports decide, exactly as they did before.

Test

The Test button tries two ports and reports them apart:

HTTPS (443)  works (198 ms)
SSH (22)     the proxy does not allow connections to port 22

It does that because the second line is so often the bad news. An HTTP proxy carries SSH through a CONNECT tunnel, but most corporate proxies only allow CONNECT to port 443 — squid denies every other port out of the box. The test tells you before a push does.

SSH

Carry SSH through this proxy too is on by default, with one exception: if your own ~/.ssh/config already routes a host (a ProxyCommand, a ProxyJump), GeeTree leaves that host alone. It asks ssh itself which configuration applies, so a working setup of yours is never overridden.

When the proxy refuses port 22, GitHub, GitLab and Bitbucket all serve SSH on port 443 as well. Tick Use ssh.github.com on port 443 for SSH on the remote (see below) and GeeTree reaches the service’s 443 entry for that remote — without changing the remote’s URL and without asking you to trust anything new: the key there is the one the service publishes, and GeeTree has ssh check it under the name you already know.

An https:// proxy carries git but not SSH: the tunnel itself would have to be TLS.

One remote, a different answer

Repository settings → Remotes, edit a remote. Its Proxy row offers three things:

Choice What happens
Follow the global setting the proxy from Preferences, or none if there is none
No proxy direct, whatever Preferences say — including when your git configuration or your shell exports a proxy
Use another proxy… this remote’s own address and password

The remotes list marks a remote that does not follow the global setting, so an override is never invisible.

No proxy is the answer when the proxy cannot reach a server — an address inside your network usually. A failure that happened at the proxy says so and its button takes you straight here.

What it looks like when it goes wrong

GeeTree words the proxy’s own failures apart from the server’s, because the way out is a different one:

What you see What it means
The proxy needs credentials 407: fill in or correct the password in Preferences › Proxy
The proxy does not allow this port usually SSH on 22; use the 443 entry, HTTPS, or a SOCKS5 proxy
The proxy could not be reached nothing is listening at that address
The proxy could not reach the server the proxy is fine, the server is not reachable from it
The certificate is not trusted a proxy that replaces certificates; its CA has to be trusted by the system

Limits worth knowing

  • PAC and WPAD scripts are not evaluated. Write the address by hand.
  • A proxy that replaces certificates needs its CA trusted in the system store; for git, http.sslCAInfo points at a CA file.
  • NTLM and Negotiate proxies work for git’s own transport but not for GeeTree’s own HTTP, so signing in and update checks will fail behind one. Basic and Digest work everywhere.
  • Fetch all remotes carries the global proxy for SSH; fetch a remote by name to use that remote’s own.
  • The terminal and custom actions are given the proxy as HTTPS_PROXY, HTTP_PROXY, ALL_PROXY and NO_PROXY, without credentials.

Last updated: 2026-11-03