Added the possibility to configure the path for the git and diff commands.