I have a few release tags like release-1.0.0, release-2.0.0, etc.
Now I make a patch release branch out of one of the release tags to do some bugfixes. Given the branch, how can I get the release tag for which this patch release branch was created? Is there any git command to do so?
PS: The question that is detected to be similar is completely different from this question. This question is asking for a way to know the origin of a branch (which in this case is a tag) while the other question asks about getting the latest tag associated with a commit in a branch.