Member development
External Git access, Access and PATs
Free to read · Website actions require membership · Reviewed 2026-10-12
This guide describes existing Code / Forgejo external Git access, not GitHub authentication. Code Git requires Cloudflare Access plus a Forgejo personal access token (PAT) for native Git authentication; they serve different purposes.
Prerequisites
Install Git, Python 3 and cloudflared, and confirm repository permission. Sign in to Forgejo, manage a PAT in personal settings and store it through the system credential helper.
Steps
- Obtain scripts/roe-git from an authorized repository and follow its member development guide.
- Clone through the helper: python3 roe-git --origin https://code.republic-of-engineers.com -- clone https://code.republic-of-engineers.com/roe-admin/batteryhub.git
- Complete browser Access prompts; use your PAT when Git requests a password.
- Push your feature branch. For 403 / 404, check entrypoint, membership status and repository permissions first.
Limitations
Never put PATs in remote URLs, command examples or chat. Website OTP is not a PAT. This guide is not proof that your own external Git access has passed acceptance.