# Refspec

say it: **“REF-spek”** **/ˈrɛfˌspɛk/**

A pattern describing which source references map to which destination references during fetch or push.

## What is **Refspec**?

**Refspec** — A pattern describing which source references map to which destination references during fetch or push.

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/refspec
