Download objects and refs from a remote repository.

# To fetch the latest changes from the default remote upstream repository (if set):
git fetch

# To fetch new branches from a specific remote upstream repository:
git fetch <remote_name>

# To fetch the latest changes from all remote upstream repositories:
git fetch --all

# To also fetch tags from the remote upstream repository:
git fetch --tags

# To delete local references to remote branches that have been deleted upstream:
git fetch --prune