The JGit DescribeCommand returns the most recent tag that is reachable from a commit. It can be restricted by way of setMatch() to match only tags matching pa
setMatch()