askgit
An AI-powered Git tutor in your terminal. Ask questions, get unstuck, and build a real understanding of Git — all without leaving the command line.
Installation
pip install askgit
Or install from source:
git clone https://github.com/yourname/askgit
cd askgit
pip install -e .
Setup
Add your Anthropic API key to ~/.zshrc (or ~/.bashrc):
export ANTHROPIC_API_KEY="your-api-key-here"
Then reload your shell:
source ~/.zshrc
Usage
askgit
Type your Git question and press Enter. Type exit or quit to close.
Examples
You: How do I undo my last commit but keep the changes?
You: What's the difference between git merge and git rebase?
You: I accidentally committed to main, how do I move it to a new branch?
You: My merge has conflicts, walk me through fixing them
Metadata
Release files for askgit-tutor 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| askgit_tutor-0.1.0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| askgit_tutor-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / askgit_tutor-0.1.0.tar.gz
| Download URL | askgit_tutor-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ae4ebf562739fc1c517a0be021dbd510952f1b4cec35c891c10d770a6560a9d
|
|
BLAKE2b-256 checksum How to use checksums |
1ff0dbd3849ee6a660188cbdf27855bd26e97052c219206b630962042a40a576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / askgit_tutor-0.1.0-py3-none-any.whl
| Download URL | askgit_tutor-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c2c6e3e843b4615fbc60571eed549a061cbb1468340c1bad666cae63896ae3a
|
|
BLAKE2b-256 checksum How to use checksums |
8921dfd63b091065a46e1a519efc44039665f9d7a5a999a81142de1375bbf72f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|