# Git & Multi-Forge Review

> Inspect changes with single-column diffs, stage files, browse topological commit graphs, and review pull requests across GitHub, GitLab, and Azure DevOps.

Source: https://cawide.dev/docs/git

Cawide includes a native mobile Git client and Pull Request review engine designed specifically for iPhone. You can review diffs, stage modified files, author commits, inspect branch topologies, and submit PR reviews across five major git hosting platforms without touching a desktop terminal.

## Inspect repository changes

The Git panel opens alongside your active terminal sessions, tracking the working directory of your current session automatically:

- **Single-column diff view**: Additions and deletions are displayed in a continuous vertical stream optimized for iPhone portrait reading, eliminating horizontal scroll fatigue.
- **Syntax-aware formatting**: Diff hunks retain syntax highlighting and clear line numbers for immediate readability.
- **Zero repository hooks**: Reading status, file trees, and diffs runs purely through Cawide's internal git engine and never executes untrusted git hooks, filters, or external diff pagers.

## Stage files and commit code

Authoring commits on mobile is streamlined through the visual changes inspector:

1. Tap modified or untracked files to inspect their changes.
2. Tap the stage icon next to individual files or hunks to add them to the staging area.
3. Enter your commit message in the built-in commit composer.
4. Tap **Commit** to create the commit, or **Commit & Push** to sync immediately with your remote branch.

## Visual commit history graph

Cawide renders a native topological git graph on iOS to help you understand repository history at a glance:

- **Branch topology**: Visual lanes and merge nodes show branching and merging paths cleanly.
- **Commit metadata**: Each row displays the short commit hash, commit message, author avatar, and relative timestamp.
- **Commit inspector**: Tap any commit in the graph to inspect its full changeset and individual file diffs.

## Multi-forge PR reviews

Beyond local git operations, Cawide features a full Pull Request review engine connecting directly to:

- **GitHub** (GitHub.com and GitHub Enterprise)
- **GitLab** (GitLab.com and self-hosted instances)
- **Gitea**
- **Bitbucket**
- **Azure DevOps**

### Review workflow

1. Open the **Reviews** tab in the Git drawer to see open pull requests for your repository.
2. Tap a pull request to view its description, author, branch status, and review state.
3. Browse changed files with line-by-line diffs.
4. Long-press or tap any line number to leave inline review comments.
5. Submit your review decision (Approve, Request Changes, or Comment) directly from your phone.

## Comment to Agent from diff

When working with an active coding agent (Claude Code, Codex, OMP, or OpenCode):

1. While reviewing a diff, tap on any modified line or hunk.
2. Select **Comment to Agent**.
3. Type your instructions (or use Voice Prompting to dictate).
4. Cawide formats the file path, line numbers, and your comment into the agent's active terminal prompt, guiding the agent to make the exact fix you requested.

## Branch management

Tap the active branch name in the Git header to open the branch switcher:

- **Local and remote branches**: Filter and search through all branches.
- **Fast checkout**: Tap any branch to check it out.
- **New branches**: Create a branch off the current HEAD with one tap.

## Send lines to your agent

Select one or more lines in a diff or in the file viewer, then tap **Send** to paste a reference to those lines into any running agent session. In the Changes view you can also stage, unstage or discard just the selected lines.

