Skip to content
Courses/Aulafy foundations/Git, small commits, and AGENTS.md

Git, small commits, and AGENTS.md

Git is not just saving code: in AI projects it is how you review, correct, and rely less on magic.

Configure your identity

Terminal
git config --global user.name "Your Name"
git config --global user.email "you@email.com"
git config --global init.defaultBranch main

The minimum workflow

Terminal
git status
git diff
git add .
git commit -m "Add local AI prototype"
git log --oneline -5

AI can write a lot very quickly. Your defense is small changes, reviewed diffs, and explicit verification before accepting a large modification.

AGENTS.md as a working contract

AGENTS.md tells the agent how work happens in that repository: commands, style, limits, important paths, tests, and things it should not touch without permission.

Terminal
# AGENTS.md

## Commands
- npm run lint
- npm run build

## Rules
- Do not edit .env or secrets.
- Keep changes small and verifiable.
- Before touching UI, check mobile and desktop.
- Explain tests run before finishing.

Files that should not enter Git

Terminal
# .gitignore
.venv/
.env
*.log
*.gguf
models/
__pycache__/
.DS_Store

Do not commit large models, keys, private vector databases, or customer data. Version recipes, scripts, prompts, and safe configuration.

Complete Aulafy mapSee how this lesson fits without leaving your path.

Complete Aulafy map

How all courses connect

This is not a checklist. Start with the foundation, choose an outcome, and go deeper only when your project needs more control.

  1. 1Understand
  2. 2Apply or build
  3. 3Operate with confidence
01

Choose an application

Turn the foundation into a visible outcome: a website, a business improvement, media, or an interactive experience.

Continue into the technical branch when you need to maintain code, data, or infrastructure.

02

Build with code

Prepare your environment, work with coding agents, and run models while keeping control of your projects.

This branch prepares you to design and operate reliable AI systems.

03

Take systems to production

Combine retrieval, agents, evaluation, security, deployment, and model adaptation when the problem requires it.

You do not need every course: choose the component your system needs and return as it grows.

View full catalogue