I’d recommend making your description even richer. Something that:
- Summarises what the file does
- Includes common questions that would warrant its usage
Try this:
Provides a Git command that retrieves the latest release branch name from a remote repository by sorting branches under “origin/release/*” by the committer date. It answers questions like “What is the current release number?”, “Get the last release version number”, and “What’s the next release number?” by displaying the most recent release branch. Additionally, when the next version is requested, it indicates both the current release number and suggests the next patch, feature, or major release.