public function hasChanges() {
		$this->begin();
		$lastLine = exec('git status');
		$this->end();
		return (strpos($lastLine, 'nothing to commit')) === false; // FALSE => changes
	}
public function hasChanges() {
		$this->begin();
		$lastLine = exec('git status');
		$this->end();
		return (strpos($lastLine, 'nothing to commit')) === false; // FALSE => changes
	}
public function hasChanges ( ) { $ this -> begin ( ) ; $ lastLine = exec ( 'git status' ) ; $ this -> end ( ) ; return ( strpos ( $ lastLine , 'nothing to commit' ) ) === false ; // FALSE => changes }
Exists changes?
`git status` + magic

@return bool
Exists changes? git status + magic