I try to execute this code, but it doesn't do anything.
But when put "git show --summary" in shell\_exec it return git statuss.

```
if($_GET['action']=='add'){
    $output = shell_exec('git add *');
    echo "Add:<pre>$output</pre>";
}
if($_GET['action']=='commit'){
    $output = shell_exec('git commit -m "'.$_POST["txt"].'" ');
    echo "Commit:<pre>$output</pre>";

}

```

Is it posible to commit git from php, and how?