I don't know, I just have one or more clones of this "local repo" and have no trouble blowing the clones away and starting over.
backup? peace of mind?
I can imagine it being useful for some obscure setup of local CI (like Jenkins) that expects a Git URL and for whatever reason cannot just copy files from one directory to another. Or maybe Argo/Flux tinkering to mimic real repo. But nothing usual should require such tricks.
There is no such thing as a git url. It is just a URI parser for the endpoint, which could be local filesystem, NFS, SSH, etc. Being able to HTTP fetch is/was an afterthought.
Yeah, I don’t get it either. The command is `git init` and you’re done.