Fetch and Pull files from an online repository

Git pull command does a git fetch followed by a git merge hence to understand it we need to understand what git fetch and git merge is.

Git fetch command just updates the remote tracking branch and does no changes to your working copy. It is a very safe operation.

git fetch <short_name>

Leave a Comment