git has 3 levels of configuration files

The priority is local > global > system