git fetch

noun

say it: “git FECH” /ɡɪt fɛtʃ/

The Git command that downloads new commits from a remote without changing your own files.

What does git fetch do?

git fetch — Downloads objects and references from a remote without changing the current branch.

git fetch origin

In a sentence

  • “I ran git fetch to see what my teammates had pushed before merging anything.”

Level: Apprentice · More Git terms at this level

Updated