Fix undefined method `git_repository'

Closes #19