As phd mentioned - the problem turned out to be git 2.47.0 After uninstalling it and installing 2.46.2 everything works fine.