Work even if user has customized git log output

My standard git config customizes the log output which breaks your script. Fixing it to always output the correctly formatted values directly from Git will make it work with any gitconfig and significantly reduce the number of forks necessary on large projects.