
Fetching from a repository grabs all the new remote-tracking branches and tags without merging those changes into your own branches. Use git fetch to retrieve new work done by other people.

Fetching changes from a remote repository Such remote-tracking branch names to origin/foo. Refs/remotes/origin/foo is created in your local repository.

To grab a complete copy of another user's repository, use git clone like this: $ git clone USERNAME/ REPOSITORY.git clone and fetch download remote code from a repository's remote URL to your local computer, merge is used to merge different people's work together with yours, and pull is a combination of fetch and merge. These commands are very useful when interacting with a remote repository.
