Git integration overview
Aider integrates tightly with git to provide automatic commits of AI edits, instant rollback via
/undo, and reviewable git history. It automatically creates a git repo if launched in a non-git directory, commits each file edit with a descriptive message, and handles dirty files by committing preexisting changes before applying AI edits.