Added gsnapshot that saves a snapshot of the current workspace to a stash.