tags and branches are both just refs to the commit and can be used interchangeably for something like this. tags are not immutable, just in convention.