class Git::Base

def checkout(branch = 'master', opts = {})

checks out a branch as the new git working directory
def checkout(branch = 'master', opts = {})
  self.lib.checkout(branch, opts)
end