This ensures that git is added as a run-time dependency of tig and allows tig to find the git command even if git is not installed in the user environment. Fixes #5741.