Coding compliance change, tabs to spaces, fix typos.
Use relative path for Git.php and $conf['tempdir'] for temp file.
Add an option for customizing git working tree