**What would you like to be added**: Add the git checkout of a certain commit and parsing of `flavors.yaml` to a public function, so that stuff like: https://github.com/gardenlinux/glrd/pull/13/commits/f911488deec840639ab9d698fb5e4d50284be5f1#diff-5bb0eb6209981098aa46d877fc4006c0c0242cb0c46551c3b4a72a86e7d360cdR171-R193 gets obsolete. https://github.com/gardenlinux/python-gardenlinux-lib/blob/a4c348009819afb3dad4818685cba7020ac0b9e3/src/gardenlinux/flavors/__main__.py#L143 could also use the new function to support parsing a commit. **Why is this needed**: This is a feature that is used frequently.