git add

Practice git add from memory. . stages everything in the current directory recursively. Use git add -A from any subdir to stage repo-wide, or git add

Stage all modified and untracked files for the next commit.

git add .

. stages everything in the current directory recursively. Use git add -A from any subdir to stage repo-wide, or git add -p for interactive hunk-by-hunk staging.

Safety: Inspect first and avoid rewriting shared history unless the team expects it.

Build the habit: GitDrill drills git add and the rest of the Git workflow until the safe first move is automatic. Try a Git drill.