add last commit date

Check local git first, fallback to file change date if git is not
available