Consider the (common) scenario of using the rebase command explained here. As described in that reference, rebase leads to the creation of new commits corresponding to those in the original feature branch.
I wonder what happens to the commits on the original feature branch. Are they automatically removed during the rebase operation, or will they stay around until a garbage collection operation is performed?
Note. I know it is not too difficult to run an experiment to get the answer to the above question. I do not have a handy repository ready and am trying to save some time here by relying on the knowledge of others!