Add decisions
Use unlinkSync() to guarantee serial execution

* Oversight from earlier.
First bash at checking out branch
Test checkout removes files not in passed tree hash