This is more about opportunity cost because instead of asking about git, you could ask about other valuable skills in your limited time with the interviewee, but I guess if git is really that important, then it's justified.
not even joking: i've seen people with like 10y of experience trying to push to main :(