Simple copy git.php under you git directory and open it in browser.
PHP must by able to use function "proc_open" and work from git user.
You can run git.php from another folder by using configuration file.
Create git-config.php file with next structure:
<?php
return array(
'git' => '/home/git/bin/git', # Another path to git bin. Default: "git"
'dir' => '/home/var/project/', # Path to project. Default: "."
'allow' => array(
# List of allowed commands. Default: null (not used)
),
'deny' => array(
# List of denied commands. Default: null (not used)
),
);
Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php