|
| Mode | Behavior |
|---|---|
| Off | Protection checks are disabled. |
| Warn | Findings are reported, but the operation may continue. |
| Block | The operation is stopped when an enabled rule is triggered. |
Protect against common staged-code risks and direct pushes to main or master. Hook installation is opt-in and will not overwrite existing hooks or custom hook paths. Protection can be removed at any time.
Local hooks are not a replacement for server-side policies and may be bypassed in certain Git workflows.
Stay in your flow
Worktrees and workspace profiles
Work on another feature or investigate an urgent issue without constantly disrupting your current checkout.
Create and manage Git worktrees, pin favorites, open them in Explorer or Visual Studio, and remove clean worktrees safely. Save your open editor documents and restore them later, including the active document and cursor positions where supported.
Git Sentinel can also identify fully merged local branches for safe cleanup, with confirmation and a fresh ancestry check before deletion.
Activity and risk trends
Understand how your repository evolves through recent commit activity, contributors, merges and frequently changed files. Follow the local risk trend for your current branch as observations accumulate.
Azure DevOps integration
For supported Azure Repos cloud remotes, connect your Azure DevOps account with a read-only personal access token (PAT) to bring relevant pull request, build and work item information into your Git workflow.
Open associated items directly in Azure DevOps without searching for them manually. This integration is optional, requires network access and depends on token permissions and available repository data. Credentials are protected locally using Windows encryption.
Designed for your existing Git workflow
- Native Visual Studio experience. A compact tool window with theme-aware controls.
- Local-first analysis. Core Git intelligence works offline using your local repository; no cloud AI service is required.
- Background processing. Asynchronous, cancellable analysis designed to stay out of your way.
- You stay in control. No automatic fetch, pull, push, staging, branch deletion or hook installation.
- Privacy-conscious. No telemetry. Personal workspace preferences and bounded risk-history aggregates are stored locally.
Git Sentinel complements Visual Studio's built-in Git tools. It does not replace Git Changes, Git History, the diff viewer or the merge editor.
Getting started
- Install Git Sentinel from the Visual Studio Marketplace.
- Open a solution inside a Git repository.
- Select Tools → Git Sentinel.
- Review Needs Attention and Merge Forecast as you work.
Git Sentinel automatically follows the open Git-backed solution. Additional repository options, protection settings, worktrees and activity are available in the tool window when needed.
Less guesswork. Fewer surprises. More confidence in every commit.
Predict. Prevent. Push.
