src/Ubiquity/utils/git/UGitRepository.php
public function getModifiedFiles() {
		try {
			return $this->extractFromCommand ( 'git diff --name-status HEAD', function ($array) {
				$array = trim ( preg_replace ( '!\s+!', ' ', $array ) );
				return explode ( ' ', $array );
			} );
		} catch ( \Cz\Git\GitException $e ) {
			return [ ];
		}
	}
public function getModifiedFiles() {
		try {
			return $this->extractFromCommand ( 'git diff --name-status HEAD', function ($array) {
				$array = trim ( preg_replace ( '!\s+!', ' ', $array ) );
				return explode ( ' ', $array );
			} );
		} catch ( \Cz\Git\GitException $e ) {
			return [ ];
		}
	}
public function getModifiedFiles ( ) { try { return $ this -> extractFromCommand ( 'git diff --name-status HEAD' , function ( $ array ) { $ array = trim ( preg_replace ( '!\s+!' , ' ' , $ array ) ) ; return explode ( ' ' , $ array ) ; } ) ; } catch ( \ Cz \ Git \ GitException $ e ) { return [ ] ; } }
Returns list of modified files in repo.

@return string[]|NULL NULL => no files modified
Returns list of modified files in repo .