Beginner
Git & Version Control
Q22 / 100
What is the difference between "git fetch" and "git pull"?
Correct! Well done.
Incorrect.
The correct answer is A) "git fetch" downloads changes from a remote without modifying the working directory or current branch, while "git pull" downloads AND immediately merges those changes into the current branch
A
Correct Answer
"git fetch" downloads changes from a remote without modifying the working directory or current branch, while "git pull" downloads AND immediately merges those changes into the current branch
Explanation
"git fetch" is a safer way to see what changes exist on the remote without altering your current work, since it doesn't merge anything until you explicitly do so.
Progress
22/100