cleanup: test environment setup

@kevgo 

Properly set the HEAD which results in it being the auto checked out branch when you first clone.
I would argue that if we have multiple commented code blocks that are preceded by empty lines, all of them should be like that, also the first one.