Fetching Metadata

What

Registering a remote repository only saves the connection pointer address in your configuration file. It does not automatically download the files, branches, or history from that remote into your local environment.

How

You can verify that a newly added remote is empty locally by inspecting the local .git/objects directory:

# View list of database objects in a newly initialized sibling repo
find .git/objects
# Output shows only empty metadata placeholders and template directories:
# .git/objects/info
# .git/objects/pack

Because no objects have been downloaded yet, running local tracking queries like git log inside the empty cloned folder will return an error indicating that there are no active commits on any local branch.

Why

Git separates connection configuration from data transmission for efficiency. A single repository can have multiple different remotes configured simultaneously. By leaving the connection separate, you control exactly when your computer spends network bandwidth and system memory to sync and pull down database packages.

Summary

Adding a remote only establishes a network path; it does not download files or commits into your local object database until you explicitly request synchronization.