Use case:
2 git branches:
staging (wp4.7x -- or whatever) production (wp4.7x -- or whatever)
Then I do a wordpress update on staging. Then merge staging files on production.
At this point, I will have all the most updated files on production, but the database wasn't touched. Dangerous? Or maybe wordpress will detect old db and ask to update?