Added preference for git.exe.

Added options for 'git log' and 'git status' and a pseudo command 'git lasthash' to get the last hash to use it programatically.