In a cloned git repository, I want to pick only the files that are modified (i.e, files that are ready to commit or which are shown as 'modified' if I run the command 'git status'). I do not want to do it on date change comparison as files could have been modified on any day over a period of time.
I need the collection of file names with their absolute file paths.
Is there any such git utility in Java available? Or what will be the better approach?