Git hook that checks out each branch as a directory