Remote - filesystem

file:////<host>/<share>/<path>

UNC path.

\\<network-computer>\<path>
file://<drive>:\<path>

1. Remote

1. Create remote directory

1. git init --bare

2. At client

1.

Should not be a part of a present repo.

  1. Extract and work on it separately.

2. Add remote

  1. git remote add origin file:///.

3. Push

1. git push --set-upstream origin master
/ -u for --set-upstream
git remote set-url origin file:///d/Personal/Project/<Project>/Repo/<Component>/Project

git fetch suffices

Bares can only fetch, and not pull.

Remote cannot fetch from client.

Only client can push to origin.

Updated: 2026 Aug 19