It would be useful to have a command to tag versions (similarly to git tags) and a command to switch to a certain tag version.
For instance, when you're debugging code, you often need to observe the program behavior with different strategies, but you don't want to put wrong code on git...