A CFG file in CS:GO is a configuration file that stores various game settings, including graphics, sound, and gameplay settings. It's a text file that can be edited to customize the game to your preferences.
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\CSGO).cfg folder.autoexec.cfg (or edit the existing one).