cleanup git_access.rb so it handles regexp with non alphanumeric chars