What does git fetch do?

Git Easy

Git — Easy

What does git fetch do?

Key points

  • Git fetch only downloads data, it doesn't merge.
  • Remote branch and tag data are retrieved.
  • Local branches remain unmodified.
  • Git fetch is a safe operation, as it doesn't change local code.

Ready to go further?

Related questions