Using NativePi
Git and worktrees
NativePi keeps common review and handoff actions beside the conversation without trying to replace a full Git client.
Review changes
The context pane shows repository status, changed files, and working-tree diffs. File changes reported during an agent turn link to the same review surface so you can inspect the resulting patch without leaving the chat.
Stage and commit
Stage a whole file or an individual diff hunk, then create a commit from the staged changes. You can ask Pi to draft commit wording before you confirm it. NativePi does not create hidden commits or checkpoints.
Push and open a pull request
Push the current branch from the Git surface, or fast-forward it from its remote before pushing. The commit graph shows local and remote history. When the GitHub CLI is installed and authenticated, NativePi can open a GitHub pull request through gh.
Branches and worktrees
Switch to or create a branch from the composer when the working tree is clean. Add a Git worktree from the project menu; NativePi pins that worktree as a separate project so its chats and terminals remain scoped to the correct folder.