class RuboCop::Cop::Packaging::GemspecGit

def starts_with_git?(str)

It is used to find strings which start with 'git'.
This method is called from inside `#def_node_search`.
def starts_with_git?(str)
  str.start_with?('git')
end