Skip to main contentGit tracks your project history so you can experiment freely, share work with teammates, and roll back mistakes. Mistle wraps the most common Git tasks in a friendly panel that keeps everything in one place.
What the Git Panel Shows
- Your current branch and how many commits you’re ahead or behind the default branch.
- A file list grouped by status so you can review, restore, or stash changes before you commit.
- Quick access to branch comparison, remote actions, and AI-powered reviews.
Get Set Up
- When you open a project, Mistle checks whether Git is installed and whether the folder is already a repository.
- If Git is missing, the onboarding flow helps you install it.
- If the project has no repository yet, click Initialize Git Repository to start tracking changes. Mistle also reminds you to add a
.gitignore so build artifacts and secrets stay out of version control.
Everyday Tasks
- Select files to review their diffs, drag them into chat, or restore unwanted edits.
- Generate a commit message with AI or write your own, then stage and commit in one step.
- Undo your last commit from the banner that appears right after you push the button—handy if you committed too soon.
Branches Made Simple
- Search for branches, switch between them, or create a new one directly from the selector.
- Rename or delete branches from the action menu; Mistle warns you if you might lose work.
- Use Compare with default branch to see what your branch adds. The compare view lists each changed file and opens side-by-side diffs tailored for branch reviews.
Work with Remotes
- Pull and fetch keep your local branch aligned with the remote. If you have unstaged work, Mistle asks you to commit or stash before it runs the command.
- Push sends your commits to services like GitHub and surfaces Git’s own output so you know what happened.
- Merge the default branch into your feature branch with one click to resolve conflicts early.
- Pop stashed changes when you’re ready to pick a task back up.
Share and Review Changes
- Click Review to send selected diffs into a chat thread for an instant AI code review.
- In branch comparison mode, the same button analyzes the full difference between your branch and the default branch—perfect prep before opening a pull request.
Head to the guides below for deeper dives into specific workflows.