Replace git CLI with ocaml-git for local operations
precommit:
- Use ocaml-git for check_ai_attribution, rewrite_ai_attribution
- Use ocaml-git for current_branch, backup_branch
- Remove unused ~process_mgr parameter from API
- Only check/rewrite commits from the current git user (by email)
forks:
- Use Git.Repository.get_remote_url for remote_exists
- Use Git.Repository.add_remote for add_remote
- Use Git.Repository.read_ref for get_ref_commit
- Use Git.Rev_list for is_ancestor, merge_base, count_commits_between
Network operations (git fetch) remain as CLI calls since ocaml-git
doesn't support network I/O.