file:////<host>/<share>/<path>UNC path.
\\<network-computer>\<path>file://<drive>:\<path>1. Remote
1. Create remote directory
1. git init --bare2. At client
1.
Should not be a part of a present repo.
- Extract and work on it separately.
2. Add remote
- git remote add origin file:///.
3. Push
1. git push --set-upstream origin master/ -u for --set-upstreamgit remote set-url origin file:///d/Personal/Project/<Project>/Repo/<Component>/Projectgit fetch suffices
Bares can only fetch, and not pull.
Remote cannot fetch from client.
Only client can push to origin.
Updated:
2026 Aug 19

