Script to get all modified files in GIT

I am developing a project base on a GIT repository. And want to get all
folder/files which have modification between my branch and the main
Is there any elegant and quick way to do this by using Ruby script?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs