I've never run into index.lock nor had anyone else run into it after it being the "git guy" at various employments.
Garbage collection is a thing, of course, but it could be completely disabled if necessary. Most people don't bother because the defaults are sensible in virtually all cases.
Almost all git problems people have are because they don't know about the reflog and don't understand that git is fundamentally append only.
Garbage collection is a thing, of course, but it could be completely disabled if necessary. Most people don't bother because the defaults are sensible in virtually all cases.
Almost all git problems people have are because they don't know about the reflog and don't understand that git is fundamentally append only.