git blame: ignore uncommitted files or repos without commits (#10685)

This fixes useless error messages popping up in case a file hasn't been
committed yet or the repo doesn't have commits yet.

Release Notes:

- Fixed git blame functionality not handling errors correctly when there
are no commits yet or when file isn't committed yet.
4f1861edb6Thorsten Ball committed on 4/17/2024, 3:51:26 PM· committed by GitHubparentd7becce
1 file changedLine totals unavailable