Manipulate your git repository in a consistent way as part of a repeatable build system, as well as encouraging semantic versioning.