Suggest an editImprove this articleRefine the answer for “What is git fetch used for?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**`git fetch`** is used to download new data from a remote repository into the local one, without changing the current working branch or files. **Key point:** `git fetch` does not perform a merge and lets you first analyze changes on the server before applying them to your local branch.Shown above the full answer for quick recall.Answer (EN)Image`git fetch` is used to **download new data from a remote repository into the local one**, **without changing the current working branch or files**. When you run `git fetch`: - new **commits, branches, and tags** are downloaded from the remote repository - **remote-tracking branches** (`origin/main`, `origin/dev`) are updated - **no merge is performed** and the working directory is not changed `git fetch` lets you safely find out about new changes on the server and analyze them before applying them to your local branch.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.