Git Atlas
Transform Git into an interactive visual graph and explore your repository.

Git Atlas replaces the mental overhead of Git with a beautiful, interactive visual graph directly inside VS Code. Understand Git through visualization rather than memorizing commands — treating your repository as a navigable state machine.
Why Git Atlas?
- Where am I? Instantly see your
HEAD, current branch, and repository state.
- What can I do from here? View valid Git actions based on your current node context.
- What will happen if I do it? Preview changes before executing them with dynamic visual highlighting.
The UI makes Git feel like navigating a flowchart instead of wrestling with a terminal. Now one can also learn new Git commands interactively while using this.
Key Features
Interactive Graph & Commit Panel
Visualize your entire commit history as a Directed Acyclic Graph (DAG). View uncommitted changes in the Working Directory node, and easily commit, amend, or stash files using the dedicated commit panel.
Backdating Commits
Need to backdate a commit? Easily set a custom commit date right from the commit panel. The date picker automatically constrains your choices so you can't pick a date older than the previous commit or in the future!
Editing Commit Messages
Click any commit to edit its message. Git Atlas automatically handles git commit --amend for HEAD and guides you through rewriting history.
Purging Sensitive Files
Accidentally committed an .env file? Search for a file across your entire history and permanently purge it from all commits with a single click.
Sensitive File Detection
Warns you if you are about to commit sensitive files (e.g., credentials, build caches) and offers a one-click option to add them to .gitignore and unstage them before committing.
AI Features
AI-Powered Git Agent
Ask questions, get repository-aware answers, and instruct the built-in AI agent to perform multi-step Git operations. It supports GitHub Copilot and open-source models!
AI Error Explanation
When any Git action fails, the extension immediately asks an available language model to explain why it failed and what you should do.
Provider Configuration & Permissions
Git Atlas integrates seamlessly with VS Code's internal language models (like GitHub Copilot) via the vscode.lm API.
- VS Code IDE: No configuration needed! The extension will simply ask for permission to use VS Code internal language models and GitHub access.
- Antigravity IDE: The default
vscode.lm models are not available here. To use the AI features, you will need to configure a custom API key in the extension settings (gitTreeExplorer.ai.apiKey).
- Tip/Trick: If you have GitHub Copilot, you can use the LM Proxy extension from VS Code to expose it locally. Just select
lm-proxy as your AI provider in the Git Atlas settings!
Additional Features
- Action Previews with Git Commands — Before executing any action, a centered modal previews what will happen. It now displays the exact Git commands (e.g.
git push --force-with-lease vs git push --force) that will run behind the scenes, alongside clear danger warnings for destructive operations.
- GitHub Integration — Detects your remote and fetches Pull Requests, Issues, and CI/CD Action statuses. See CI badges and PR links directly on commits.
- Time-Travel (Reflog) — Visually recover lost commits using
--reflog visualization. Orphaned commits are distinctly styled.
Contributing
Contributions are welcome! Please open an issue or submit a pull request at https://github.com/arcaneleague18/GitAtlas.git if you'd like to help make Git Atlas even better.