# Pathspec

say it: **“PATH-spek”** **/ˈpæθˌspɛk/**

A Git expression that selects paths for a command.

## What is **Pathspec**?

**Pathspec** — A Git expression that selects paths for a command.

Level: Freelancer · [More Git terms at this level](https://www.ask-codey.com/glossary?category=git&level=4)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/pathspec
