Get more info from Git, fix cwd

1. Added last commit time + last commit author to the information pulled from git
2. Added missing cwd code
3. Fixed indentation