schacon/ruby-git — pull request #189 by detlefreichl (2014-11-09 14:54:23+00:00)
Title: fix that Git#checkout will work with :new_branch

this small fix, will makes Git#checkout work if :new_branch is given as an argument, like

git = Git.open 'path/to/repo'
git.checkout 'branchName', :new_branch => true