Git objects are just as immutable as objects in C#, Java, Ruby, etc. (String is a good example.) They absolutely cannot be altered, but they most certainly can be destroyed once it is established that no one cares about it anymore. Those languages wait until there are no references to that object anymore; git does the same thing: branches/tags are your valid references.
14
u/khayber Jun 19 '14
A git repo is NOT immutable. Whatever gave him that idea?