I should be able to use git to maintain and control the progress of a workspace

It should be possible to use git to control the development of a workspace.

Presently I have to endlessly export versions of a workspace, incase a speculative approach leads to a dead-end, and I accidentally lose the undo stack.