GitPHP / Docs / 🚀 Quick Start
⚡️ REST API v1

The GitPHP guide 🚀

Comprehensive open-source documentation: Self-hosting, Personal Access Tokens, Git & SSH, pull requests, and REST API.

1 Overview

GitPHP is a self-hosted Git repository management platform with a modern GitHub-like interface. It provides high-performance Git hosting over HTTP (Personal Access Tokens & Basic auth) and guarded SSH, coupled with an integrated collaboration layer: Pull Requests, inline code review, branch protection, webhooks, and a REST API.

Multi-Protocol Git Hosting

Clone / Fetch / Push over HTTP with Personal Tokens or password, plus guarded SSH.

Pull Requests & Merging

Sequential numbering, discussion, changed files view, and one-click merges.

Inline Code Review

Comment on any diff line; approve or request changes.

Webhooks

HMAC-SHA256 signed event payloads for push, issues, PRs, and releases.

Branch Protection

Block deletion, prevent force-pushes, and require approved reviews before merge.

REST API & Tokens

Full read/write capabilities authenticated by personal gtp_… tokens.

2 Quick Start — Create Your First Repository

Create a new repository from New repository in the top navigation or your account menu, then set the name, description, and visibility (Public / Private).

💡 Example repository URL: https://git.ysnapp.com/aburasha/my-project.git
✅ Every new repository is automatically configured on creation to accept HTTP push and run server hooks out-of-the-box.