I sincerely wish those were fictions. I’ve been on the interviewing end of both of those cases. It’s OK (if a bit surprising) if someone’s never used Git before. Maybe they worked at a Perforce or Subversion shop. It’s not OK to be unable to Google “git basics” to figure out how to clone a repo.
It might be a bit over the top in the heat of a 30 minute interview, but for say an at-home two hour challenge it's not too unreasonable.
One manager I know says he gets "senior" candidates who can't do FizzBuzz. Not just have trouble with the modulo operator, but can't even get started.