[WIP][TASK] Add ability to do a checkout

Instead of just a gerrit-cherry-pick, this lays the foundation to do a recursive gerrit-cherry-pick, essentially checking out the tree of changes on the branch.