AI definitely does look at git commit history in my experience

It certainly looks at the commit history more than I ever have. I find it quite cool when it points out interesting hints from the history.

It's gotten me out of a few sticky merges by examining history and providing information about why changes were done.