A utility to create a git-like "branch" of javascript objects