How do I jump between steps?

What should I do if I need to detect what the code commits and then perform different steps based on the specific commit record