From the creation of special commits, calculates the semantic version based on the Git branch and commit history.