QProcess naturally doesn't emit "finished" when it couldn't even start the
process (like the executable to start not being in the path). Instead it emits error() in that case. So also connect to the error signal. The other option would be to use QProces::waitForStarted(), to make sure the git-execution actually starts, in GitJob::start().