well, what composer does in such case is to parse the git output in PHP rather than using shell commands